Make WordPress Core


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

Docs: Remove @access notations from method DocBlocks in wp-includes/* 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-includes/class-walker-comment.php

    r38342 r41162  
    2121     *
    2222     * @since 2.7.0
    23      * @access public
    2423     * @var string
    2524     *
     
    3231     *
    3332     * @since 2.7.0
    34      * @access public
    3533     * @var array
    3634     *
     
    4442     *
    4543     * @since 2.7.0
    46      * @access public
    4744     *
    4845     * @see Walker::start_lvl()
     
    7370     *
    7471     * @since 2.7.0
    75      * @access public
    7672     *
    7773     * @see Walker::end_lvl()
     
    119115     *
    120116     * @since 2.7.0
    121      * @access public
    122117     *
    123118     * @see Walker::display_element()
     
    158153     *
    159154     * @since 2.7.0
    160      * @access public
    161155     *
    162156     * @see Walker::start_el()
     
    202196     *
    203197     * @since 2.7.0
    204      * @access public
    205198     *
    206199     * @see Walker::end_el()
     
    229222     *
    230223     * @since 3.6.0
    231      * @access protected
    232224     *
    233225     * @see wp_list_comments()
     
    251243     *
    252244     * @since 3.6.0
    253      * @access protected
    254245     *
    255246     * @see wp_list_comments()
     
    315306     *
    316307     * @since 3.6.0
    317      * @access protected
    318308     *
    319309     * @see wp_list_comments()
Note: See TracChangeset for help on using the changeset viewer.