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-file-upload-upgrader.php

    r38524 r41161  
    2323     *
    2424     * @since 2.8.0
    25      * @access public
    2625     * @var string $package
    2726     */
     
    3231     *
    3332     * @since 2.8.0
    34      * @access public
    3533     * @var string $filename
    3634     */
     
    4139     *
    4240     * @since 3.3.0
    43      * @access public
    4441     * @var int $id
    4542     */
     
    5047     *
    5148     * @since 2.8.0
    52      * @access public
    5349     *
    5450     * @param string $form      The name of the form the file was uploaded from.
     
    114110     *
    115111     * @since 3.2.2
    116      * @access public
    117112     *
    118113     * @return bool Whether the cleanup was successful.
Note: See TracChangeset for help on using the changeset viewer.