Make WordPress Core


Ignore:
Timestamp:
11/02/2016 05:54:27 AM (8 years ago)
Author:
pento
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-roles.php

    r39083 r39088  
    150150     */
    151151    public function reinit() {
    152         __deprecated_function( __METHOD__, '4.7.0', 'new WP_Roles()' );
     152        _deprecated_function( __METHOD__, '4.7.0', 'new WP_Roles()' );
    153153        $this->_init();
    154154    }
Note: See TracChangeset for help on using the changeset viewer.