WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (2 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-page.php

    r40565 r41162  
    2121     *
    2222     * @since 2.1.0
    23      * @access public
    2423     * @var string
    2524     *
     
    3231     *
    3332     * @since 2.1.0
    34      * @access private
    3533     * @var array
    3634     *
     
    4442     *
    4543     * @since 2.1.0
    46      * @access public
    4744     *
    4845     * @see Walker::start_lvl()
     
    6966     *
    7067     * @since 2.1.0
    71      * @access public
    7268     *
    7369     * @see Walker::end_lvl()
     
    9591     * @see Walker::start_el()
    9692     * @since 2.1.0
    97      * @access public
    9893     *
    9994     * @param string  $output       Used to append additional content. Passed by reference.
     
    215210     *
    216211     * @since 2.1.0
    217      * @access public
    218212     *
    219213     * @see Walker::end_el()
Note: See TracChangeset for help on using the changeset viewer.