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-feed-cache-transient.php

    r38354 r41162  
    1919     *
    2020     * @since 2.8.0
    21      * @access public
    2221     * @var string
    2322     */
     
    2827     *
    2928     * @since 2.8.0
    30      * @access public
    3129     * @var string
    3230     */
     
    3937     *
    4038     * @since 2.8.0
    41      * @access public
    4239     * @var int
    4340     */
     
    4946     * @since 2.8.0
    5047     * @since 3.2.0 Updated to use a PHP5 constructor.
    51      * @access public
    5248     *
    5349     * @param string $location  URL location (scheme is used to determine handler).
     
    7571     *
    7672     * @since 2.8.0
    77      * @access public
    7873     *
    7974     * @param SimplePie $data Data to save.
     
    9489     *
    9590     * @since 2.8.0
    96      * @access public
    9791     *
    9892     * @return mixed Transient value.
     
    106100     *
    107101     * @since 2.8.0
    108      * @access public
    109102     *
    110103     * @return mixed Transient value.
     
    118111     *
    119112     * @since 2.8.0
    120      * @access public
    121113     *
    122114     * @return bool False if value was not set and true if value was set.
     
    130122     *
    131123     * @since 2.8.0
    132      * @access public
    133124     *
    134125     * @return true Always true.
Note: See TracChangeset for help on using the changeset viewer.