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-wp-list-util.php

    r38928 r41162  
    1919     *
    2020     * @since 4.7.0
    21      * @access private
    2221     * @var array
    2322     */
     
    2827     *
    2928     * @since 4.7.0
    30      * @access private
    3129     * @var array
    3230     */
     
    3735     *
    3836     * @since 4.7.0
    39      * @access private
    4037     * @var array
    4138     */
     
    5956     *
    6057     * @since 4.7.0
    61      * @access public
    6258     *
    6359     * @return array The input array.
     
    7167     *
    7268     * @since 4.7.0
    73      * @access public
    7469     *
    7570     * @return array The output array.
     
    229224     *
    230225     * @since 4.7.0
    231      * @access private
    232226     *
    233227     * @see WP_List_Util::sort()
Note: See TracChangeset for help on using the changeset viewer.