From 653fe9aaa1f35bb84c98d45631315ab73b392141 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 22 Aug 2016 22:14:03 +0000 Subject: [PATCH] Users: after [38317], use a `@property` annotation, instead of a `public` field. See #37771. git-svn-id: https://develop.svn.wordpress.org/trunk@38319 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-user.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/wp-includes/class-wp-user.php b/src/wp-includes/class-wp-user.php index f4896a7617..bcb82eb3e6 100644 --- a/src/wp-includes/class-wp-user.php +++ b/src/wp-includes/class-wp-user.php @@ -27,6 +27,7 @@ * @property string $user_registered * @property string $user_activation_key * @property string $user_status + * @property int $user_level * @property string $display_name * @property string $spam * @property string $deleted @@ -85,13 +86,6 @@ 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. *