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

    r41022 r41161  
    3030     *
    3131     * @since 3.1.0
    32      * @access public
    3332     *
    3433     * @see WP_List_Table::__construct() for more information on default arguments.
     
    429428     *
    430429     * @since 4.3.0
    431      * @access protected
    432430     *
    433431     * @return string Name of the default primary column, in this case, 'comment'.
     
    438436
    439437    /**
    440      * @access public
    441438     */
    442439    public function display() {
     
    716713
    717714    /**
    718      * @access public
    719715     *
    720716     * @param WP_Comment $comment The comment object.
     
    742738
    743739    /**
    744      * @access public
    745740     *
    746741     * @param WP_Comment $comment The comment object.
Note: See TracChangeset for help on using the changeset viewer.