Roles: Fix a PHP error introduced in [39082].
The now deprecated `WP_Roles::reinit()` method was trying to call `__deprecated_function()`, instead of `_deprecated_function()`. See 23016. Built from https://develop.svn.wordpress.org/trunk@39088 git-svn-id: http://core.svn.wordpress.org/trunk@39030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d7bdd72510
commit
6f13b8291d
|
@ -149,7 +149,7 @@ class WP_Roles {
|
|||
* @access public
|
||||
*/
|
||||
public function reinit() {
|
||||
__deprecated_function( __METHOD__, '4.7.0', 'new WP_Roles()' );
|
||||
_deprecated_function( __METHOD__, '4.7.0', 'new WP_Roles()' );
|
||||
$this->_init();
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta1-39087';
|
||||
$wp_version = '4.7-beta1-39088';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue