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-plugins-list-table.php

    r41160 r41161  
    2222     *
    2323     * @since 3.1.0
    24      * @access public
    2524     *
    2625     * @see WP_List_Table::__construct() for more information on default arguments.
     
    347346     *
    348347     * @since 4.6.0
    349      * @access public
    350348     *
    351349     * @param string $text     The 'submit' button label.
     
    865863     *
    866864     * @since 4.3.0
    867      * @access protected
    868865     *
    869866     * @return string Unalterable name for the primary column, in this case, 'name'.
Note: See TracChangeset for help on using the changeset viewer.