Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (8 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-links-list-table.php

    r41147 r41161  
    2222     *
    2323     * @since 3.1.0
    24      * @access public
    2524     *
    2625     * @see WP_List_Table::__construct() for more information on default arguments.
     
    7069
    7170    /**
    72      * @access public
    7371     */
    7472    public function no_items() {
     
    152150     *
    153151     * @since 4.3.0
    154      * @access protected
    155152     *
    156153     * @return string Name of the default primary column, in this case, 'name'.
     
    164161     *
    165162     * @since 4.3.0
    166      * @access public
    167163     *
    168164     * @param object $link The current link object.
     
    179175     *
    180176     * @since 4.3.0
    181      * @access public
    182177     *
    183178     * @param object $link The current link object.
     
    197192     *
    198193     * @since 4.3.0
    199      * @access public
    200194     *
    201195     * @param object $link The current link object.
     
    210204     *
    211205     * @since 4.3.0
    212      * @access public
    213206     *
    214207     * @global int $cat_id
     
    238231     *
    239232     * @since 4.3.0
    240      * @access public
    241233     *
    242234     * @param object $link The current link object.
     
    250242     *
    251243     * @since 4.3.0
    252      * @access public
    253244     *
    254245     * @param object $link The current link object.
     
    266257     *
    267258     * @since 4.3.0
    268      * @access public
    269259     *
    270260     * @param object $link The current link object.
     
    278268     *
    279269     * @since 4.3.0
    280      * @access public
    281270     *
    282271     * @param object $link        Link object.
     
    312301     *
    313302     * @since 4.3.0
    314      * @access protected
    315303     *
    316304     * @param object $link        Link being acted upon.
Note: See TracChangeset for help on using the changeset viewer.