Make WordPress Core


Ignore:
Timestamp:
01/08/2015 05:43:54 AM (12 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r31055 r31078  
    1010class WP_Plugin_Install_List_Table extends WP_List_Table {
    1111
    12         var $order = 'ASC';
    13         var $orderby = null;
    14         var $groups = array();
     12        public $order = 'ASC';
     13        public $orderby = null;
     14        public $groups = array();
    1515
    1616        public function ajax_user_can() {
Note: See TracChangeset for help on using the changeset viewer.