Users: `$user_level` has been publicly-accessed on instances of `WP_User` since version 2.0, but is has never been declared.

See #37771.

Built from https://develop.svn.wordpress.org/trunk@38317


git-svn-id: http://core.svn.wordpress.org/trunk@38258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2016-08-22 21:41:28 +00:00
parent d3312bc278
commit 7466118616
2 changed files with 8 additions and 1 deletions

View File

@ -85,6 +85,13 @@ class WP_User {
*/
public $allcaps = array();
/**
* @since 2.0.0
* @access public
* @var int
*/
public $user_level = 0;
/**
* The filter context applied to user data fields.
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38316';
$wp_version = '4.7-alpha-38317';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.