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-error.php

    r40988 r41162  
    6666     *
    6767     * @since 2.1.0
    68      * @access public
    6968     *
    7069     * @return array List of error codes, if available.
     
    8180     *
    8281     * @since 2.1.0
    83      * @access public
    8482     *
    8583     * @return string|int Empty string, if no error codes.
     
    158156     *
    159157     * @since 2.1.0
    160      * @access public
    161158     *
    162159     * @param string|int $code Error code.
Note: See TracChangeset for help on using the changeset viewer.