Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-admin/* classes.

Prior to about 2013, many class methods lacked even access modifiers which made the @access notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.

See #41452.

File:
1 edited

Legend:

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

    r39166 r41161  
    155155
    156156        /**
    157          * @access public
    158157         */
    159158        public function no_items() {
    … …  
    181180
    182181        /**
    183          * @access public
    184182         */
    185183        public function display() {
    … …  
    210208
    211209        /**
    212          * @access public
    213210         */
    214211        public function display_rows() {
    … …  
    228225         *
    229226         * @since 3.1.0
    230          * @access public
    231227         *
    232228         * @global array $themes_allowedtags
    … …  
    437433         *
    438434         * @since 3.4.0
    439          * @access public
    440435         *
    441436         * @global string $tab  Current tab within Themes->Install screen
    … …  
    453448         *
    454449         * @since 3.4.0
    455          * @access private
    456450         *
    457451         * @param object $theme - A WordPress.org Theme API object.
Note: See TracChangeset for help on using the changeset viewer.