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-includes/capabilities.php

    r31049 r31078  
    422422         *
    423423         * @since 2.0.0
    424          * @access private
    425424         * @var object
    426425         */
    427         var $data;
     426        public $data;
    428427
    429428        /**
Note: See TracChangeset for help on using the changeset viewer.