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

    r40957 r41161  
    2626     *
    2727     * @since 3.1.0
    28      * @access public
    2928     *
    3029     * @see WP_List_Table::__construct() for more information on default arguments.
     
    7372
    7473    /**
    75      * @access public
    7674     */
    7775    public function prepare_items() {
     
    140138
    141139    /**
    142      * @access public
    143140     */
    144141    public function no_items() {
     
    207204
    208205    /**
    209      * @access public
    210206     */
    211207    public function display_rows_or_placeholder() {
     
    400396     *
    401397     * @since 4.3.0
    402      * @access protected
    403398     *
    404399     * @return string Name of the default primary column, in this case, 'name'.
     
    412407     *
    413408     * @since 4.3.0
    414      * @access protected
    415409     *
    416410     * @param WP_Term $tag         Tag being acted upon.
Note: See TracChangeset for help on using the changeset viewer.