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-bulk-upgrader-skin.php

    r41106 r41161  
    2424
    2525    /**
    26      * @access public
    2726     *
    2827     * @param array $args
     
    3635
    3736    /**
    38      * @access public
    3937     */
    4038    public function add_strings() {
     
    5048
    5149    /**
    52      * @access public
    5350     *
    5451     * @param string $string
     
    7673
    7774    /**
    78      * @access public
    7975     */
    8076    public function header() {
     
    8379
    8480    /**
    85      * @access public
    8681     */
    8782    public function footer() {
     
    9085
    9186    /**
    92      * @access public
    9387     *
    9488     * @param string|WP_Error $error
     
    112106
    113107    /**
    114      * @access public
    115108     */
    116109    public function bulk_header() {
     
    119112
    120113    /**
    121      * @access public
    122114     */
    123115    public function bulk_footer() {
     
    126118
    127119    /**
    128      * @access public
    129120     *
    130121     * @param string $title
     
    140131
    141132    /**
    142      * @access public
    143133     *
    144134     * @param string $title
     
    171161
    172162    /**
    173      * @access public
    174163     */
    175164    public function reset() {
     
    179168
    180169    /**
    181      * @access public
    182170     */
    183171    public function flush_output() {
Note: See TracChangeset for help on using the changeset viewer.