Make WordPress Core


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

    r38164 r41162  
    6868     *
    6969     * @since 2.8.0
    70      * @access public
    7170     *
    7271     * @param string|array $data {
     
    141140     * Decision is based on RFC 2109/2965, so look there for details on validity.
    142141     *
    143      * @access public
    144142     * @since 2.8.0
    145143     *
     
    186184     * Convert cookie name and value back to header string.
    187185     *
    188      * @access public
    189186     * @since 2.8.0
    190187     *
     
    209206     * Retrieve cookie header for usage in the rest of the WordPress HTTP API.
    210207     *
    211      * @access public
    212208     * @since 2.8.0
    213209     *
     
    222218     *
    223219     * @since 4.6.0
    224      * @access public
    225220     *
    226221     * @return array {
Note: See TracChangeset for help on using the changeset viewer.