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:
Scott Taylor
2015-01-08 05:43:54 +00:00
parent 469164785f
commit 97d6901048
4 changed files with 19 additions and 33 deletions

View File

@@ -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.