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

    r40988 r41161  
    1818
    1919    /**
    20      * @access public
    2120     *
    2221     * @param array $opt
     
    6463
    6564    /**
    66      * @access public
    6765     *
    6866     * @return bool
     
    106104     *
    107105     * @since 2.5.0
    108      * @access public
    109106     *
    110107     * @param string $file Filename.
     
    139136
    140137    /**
    141      * @access public
    142138     *
    143139     * @param string $file
     
    149145
    150146    /**
    151      * @access public
    152147     *
    153148     * @param string $file
     
    191186
    192187    /**
    193      * @access public
    194188     *
    195189     * @return string
     
    203197
    204198    /**
    205      * @access public
    206199     *
    207200     * @param string $dir
     
    213206
    214207    /**
    215      * @access public
    216208     *
    217209     * @param string $file
     
    244236
    245237    /**
    246      * @access public
    247238     *
    248239     * @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 $source
     
    294282
    295283    /**
    296      * @access public
    297284     *
    298285     * @param string $source
     
    306293
    307294    /**
    308      * @access public
    309295     *
    310296     * @param string $file
     
    329315
    330316    /**
    331      * @access public
    332317     *
    333318     * @param string $file
     
    345330
    346331    /**
    347      * @access public
    348332     *
    349333     * @param string $file
     
    355339
    356340    /**
    357      * @access public
    358341     *
    359342     * @param string $path
     
    371354
    372355    /**
    373      * @access public
    374356     *
    375357     * @param string $file
     
    381363
    382364    /**
    383      * @access public
    384365     *
    385366     * @param string $file
     
    391372
    392373    /**
    393      * @access public
    394374     *
    395375     * @param string $file
     
    401381
    402382    /**
    403      * @access public
    404383     *
    405384     * @param string $file
     
    411390
    412391    /**
    413      * @access public
    414392     *
    415393     * @param string $file
     
    421399
    422400    /**
    423      * @access public
    424401     *
    425402     * @param string $file
     
    431408
    432409    /**
    433      * @access public
    434410     *
    435411     * @param string $path
     
    451427
    452428    /**
    453      * @access public
    454429     *
    455430     * @param string $path
     
    462437
    463438    /**
    464      * @access public
    465439     *
    466440     * @staticvar bool $is_windows
     
    544518
    545519    /**
    546      * @access public
    547520     *
    548521     * @param string $path
     
    601574
    602575    /**
    603      * @access public
    604576     */
    605577    public function __destruct() {
Note: See TracChangeset for help on using the changeset viewer.