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-wp-filesystem-ftpsockets.php

    r40988 r41161  
    1616class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
    1717    /**
    18      * @access public
    1918     * @var ftp
    2019     */
     
    2221
    2322    /**
    24      * @access public
    2523     *
    2624     * @param array $opt
     
    5957
    6058    /**
    61      * @access public
    6259     *
    6360     * @return bool
     
    109106     *
    110107     * @since 2.5.0
    111      * @access public
    112108     *
    113109     * @param string $file Filename.
     
    151147
    152148    /**
    153      * @access public
    154149     *
    155150     * @param string $file
     
    161156
    162157    /**
    163      * @access public
    164158     *
    165159     * @param string $file
     
    203197
    204198    /**
    205      * @access public
    206199     *
    207200     * @return string
     
    215208
    216209    /**
    217      * @access public
    218210     *
    219211     * @param string $file
     
    225217
    226218    /**
    227      * @access public
    228219     *
    229220     * @param string $file
     
    254245
    255246    /**
    256      * @access public
    257247     *
    258248     * @param string $file
     
    265255
    266256    /**
    267      * @access public
    268257     *
    269258     * @param string $file
     
    276265
    277266    /**
    278      * @access public
    279267     *
    280268     * @param string $file
     
    287275
    288276    /**
    289      * @access public
    290277     *
    291278     * @param string   $source
     
    307294
    308295    /**
    309      * @access public
    310296     *
    311297     * @param string $source
     
    319305
    320306    /**
    321      * @access public
    322307     *
    323308     * @param string $file
     
    338323
    339324    /**
    340      * @access public
    341325     *
    342326     * @param string $file
     
    355339
    356340    /**
    357      * @access public
    358341     *
    359342     * @param string $file
     
    369352
    370353    /**
    371      * @access public
    372354     *
    373355     * @param string $path
     
    384366
    385367    /**
    386      * @access public
    387368     *
    388369     * @param string $file
     
    394375
    395376    /**
    396      * @access public
    397377     *
    398378     * @param string $file
     
    404384
    405385    /**
    406      * @access public
    407386     *
    408387     * @param string $file
     
    414393
    415394    /**
    416      * @access public
    417395     *
    418396     * @param string $file
     
    432410
    433411    /**
    434      * @access public
    435412     *
    436413     * @param string $file
     
    444421
    445422    /**
    446      * @access public
    447423     *
    448424     * @param string $path
     
    466442
    467443    /**
    468      * @access public
    469444     *
    470445     * @param string $path
     
    477452
    478453    /**
    479      * @access public
    480454     *
    481455     * @param string $path
     
    537511
    538512    /**
    539      * @access public
    540513     */
    541514    public function __destruct() {
Note: See TracChangeset for help on using the changeset viewer.