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

    r38375 r41162  
    2121     * The handle name.
    2222     *
    23      * @access public
    2423     * @since 2.6.0
    2524     * @var null
     
    3029     * The handle source.
    3130     *
    32      * @access public
    3331     * @since 2.6.0
    3432     * @var null
     
    3937     * An array of handle dependencies.
    4038     *
    41      * @access public
    4239     * @since 2.6.0
    4340     * @var array
     
    5047     * Used for cache-busting.
    5148     *
    52      * @access public
    5349     * @since 2.6.0
    5450     * @var bool|string
     
    5955     * Additional arguments for the handle.
    6056     *
    61      * @access public
    6257     * @since 2.6.0
    6358     * @var null
     
    6863     * Extra data to supply to the handle.
    6964     *
    70      * @access public
    7165     * @since 2.6.0
    7266     * @var array
     
    8882     * Add handle data.
    8983     *
    90      * @access public
    9184     * @since 2.6.0
    9285     *
Note: See TracChangeset for help on using the changeset viewer.