Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-admin/* 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-admin/includes/class-automatic-upgrader-skin.php

    r41107 r41161  
    2828     * @since 3.7.0
    2929     * @since 4.6.0 The `$context` parameter default changed from `false` to an empty string.
    30      * @access public
    3130     *
    3231     * @see request_filesystem_credentials()
     
    5251
    5352    /**
    54      * @access public
    5553     *
    5654     * @return array
     
    6159
    6260    /**
    63      * @access public
    6461     *
    6562     * @param string|array|WP_Error $data
     
    10299
    103100    /**
    104      * @access public
    105101     */
    106102    public function header() {
     
    109105
    110106    /**
    111      * @access public
    112107     */
    113108    public function footer() {
Note: See TracChangeset for help on using the changeset viewer.