Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (9 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-wp-ajax-upgrader-skin.php

    r41157 r41161  
    2323     *
    2424     * @since 4.6.0
    25      * @access protected
    2625     * @var null|WP_Error
    2726     */
     
    3231     *
    3332     * @since 4.6.0
    34      * @access public
    3533     *
    3634     * @param array $args Options for the upgrader, see WP_Upgrader_Skin::__construct().
     
    4644     *
    4745     * @since 4.6.0
    48      * @access public
    4946     *
    5047     * @return WP_Error Errors during an upgrade.
     
    5855     *
    5956     * @since 4.6.0
    60      * @access public
    6157     *
    6258     * @return string Error messages during an upgrade.
     
    8076     *
    8177     * @since 4.6.0
    82      * @access public
    8378     *
    8479     * @param string|WP_Error $errors Errors.
     
    116111     *
    117112     * @since 4.6.0
    118      * @access public
    119113     *
    120114     * @param string|array|WP_Error $data Log entry data.
Note: See TracChangeset for help on using the changeset viewer.