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-plugin-upgrader.php

    r40575 r41161  
    2525     *
    2626     * @since 2.8.0
    27      * @access public
    2827     * @var array|WP_Error $result
    2928     *
     
    3635     *
    3736     * @since 2.9.0
    38      * @access public
    3937     * @var bool $bulk
    4038     */
     
    4543     *
    4644     * @since 2.8.0
    47      * @access public
    4845     */
    4946    public function upgrade_strings() {
     
    6360     *
    6461     * @since 2.8.0
    65      * @access public
    6662     */
    6763    public function install_strings() {
     
    8076     * @since 2.8.0
    8177     * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
    82      * @access public
    8378     *
    8479     * @param string $package The full local path or URI of the package.
     
    135130     * @since 2.8.0
    136131     * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
    137      * @access public
    138132     *
    139133     * @param string $plugin The basename path to the main plugin file.
     
    207201     * @since 2.8.0
    208202     * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
    209      * @access public
    210203     *
    211204     * @param array $plugins Array of the basename paths of the plugins' main files.
     
    326319     *
    327320     * @since 3.3.0
    328      * @access public
    329321     *
    330322     * @global WP_Filesystem_Base $wp_filesystem Subclass
     
    369361     *
    370362     * @since 2.8.0
    371      * @access public
    372363     *
    373364     * @return string|false The full path to the main plugin file, or false.
     
    395386     * @since 2.8.0
    396387     * @since 4.1.0 Added a return value.
    397      * @access public
    398388     *
    399389     * @param bool|WP_Error  $return Upgrade offer return.
     
    429419     *
    430420     * @since 2.8.0
    431      * @access public
    432421     *
    433422     * @global WP_Filesystem_Base $wp_filesystem Subclass
Note: See TracChangeset for help on using the changeset viewer.