mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Access Modifiers:
* In `WP_Plugin_Install_List_Table`, use `public` instead of `var` * In `WP_User`, `->data` is accessed directly on an instance if the constructor receives it: make it `public` * In `WP_Locale`, every property is exported to a global and is already `public` via `var`, half of the properties are accessed directly already, make them all `public` * In `WP_Rewrite`, several properties are accessed publicly in functions via the `$wp_rewrite` global, make those props `public`. * In `WP_Rewrite`, the property `->comment_feed_structure` was misspelled as `->comments_feed_structure` See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31078 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -421,10 +421,9 @@ class WP_User {
|
||||
* User data container.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
var $data;
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* The user's ID.
|
||||
|
||||
Reference in New Issue
Block a user