Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (7 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-language-pack-upgrader.php

    r38415 r41161  
    2323     *
    2424     * @since 3.7.0
    25      * @access public
    2625     * @var array|WP_Error $result
    2726     * @see WP_Upgrader::$result
     
    3332     *
    3433     * @since 3.7.0
    35      * @access public
    3634     * @var bool $bulk
    3735     */
     
    4442     *
    4543     * @since 3.7.0
    46      * @access public
    4744     * @static
    4845     *
     
    111108     *
    112109     * @since 3.7.0
    113      * @access public
    114110     */
    115111    public function upgrade_strings() {
     
    127123     *
    128124     * @since 3.7.0
    129      * @access public
    130125     *
    131126     * @param string|false $update Optional. Whether an update offer is available. Default false.
     
    152147     *
    153148     * @since 3.7.0
    154      * @access public
    155149     *
    156150     * @global WP_Filesystem_Base $wp_filesystem Subclass
     
    308302     *
    309303     * @since 3.7.0
    310      * @access public
    311304     *
    312305     * @global WP_Filesystem_Base $wp_filesystem Subclass
     
    350343     *
    351344     * @since 3.7.0
    352      * @access public
    353345     *
    354346     * @param object $update The data for an update.
Note: See TracChangeset for help on using the changeset viewer.