mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -9,9 +9,9 @@
|
||||
*/
|
||||
class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
|
||||
var $order = 'ASC';
|
||||
var $orderby = null;
|
||||
var $groups = array();
|
||||
public $order = 'ASC';
|
||||
public $orderby = null;
|
||||
public $groups = array();
|
||||
|
||||
public function ajax_user_can() {
|
||||
return current_user_can('install_plugins');
|
||||
|
||||
Reference in New Issue
Block a user