Skip to content

Commit

Permalink
Updating changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed May 5, 2016
1 parent 65eef82 commit 275e387
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v160504

- Adding support for required bits via `$GLOBALS['wp_php_rv']['bits'] = 64;`

![2016-05-04_23-42-50](https://cloud.githubusercontent.com/assets/1563559/15038648/fb5fb04e-1251-11e6-96d6-af1a563413f1.png)

## v160503

- Enhancing display of notice.
Expand Down
4 changes: 2 additions & 2 deletions src/includes/functions/notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function wp_php_rv_notice($brand_name = '')

# Attach an action to display the notice now.

add_action($action, create_function(
add_action($action, create_function(/* Closures require PHP 5.3+. */
'',
'if (!current_user_can(\'activate_plugins\')) return;'.
'if (!apply_filters(\'wp_php_rv_notice_display\', true, get_defined_vars())) return;'.
Expand All @@ -168,7 +168,7 @@ function wp_php_rv_notice($brand_name = '')
}

/**
* Back compat. function (rarely used).
* Last-ditch effort to find a brand name.
*
* @return string Name of the calling theme/plugin.
*/
Expand Down

0 comments on commit 275e387

Please sign in to comment.