Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-includes/* 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-includes/class-wp-image-editor.php

    r41125 r41162  
    3636     *
    3737     * @static
    38      * @access public
    3938     * @abstract
    4039     *
     
    5352     *
    5453     * @static
    55      * @access public
    5654     * @abstract
    5755     *
     
    6765     *
    6866     * @since 3.5.0
    69      * @access public
    7067     * @abstract
    7168     *
     
    7875     *
    7976     * @since 3.5.0
    80      * @access public
    8177     * @abstract
    8278     *
     
    9591     *
    9692     * @since 3.5.0
    97      * @access public
    9893     * @abstract
    9994     *
     
    109104     *
    110105     * @since 3.5.0
    111      * @access public
    112106     * @abstract
    113107     *
     
    129123     *
    130124     * @since 3.5.0
    131      * @access public
    132125     * @abstract
    133126     *
     
    147140     *
    148141     * @since 3.5.0
    149      * @access public
    150142     * @abstract
    151143     *
     
    159151     *
    160152     * @since 3.5.0
    161      * @access public
    162153     * @abstract
    163154     *
     
    172163     *
    173164     * @since 3.5.0
    174      * @access public
    175165     * @abstract
    176166     *
     
    184174     *
    185175     * @since 3.5.0
    186      * @access public
    187176     *
    188177     * @return array {'width'=>int, 'height'=>int}
     
    196185     *
    197186     * @since 3.5.0
    198      * @access protected
    199187     *
    200188     * @param int $width
     
    214202     *
    215203     * @since 4.0.0
    216      * @access public
    217204     *
    218205     * @return int $quality Compression Quality. Range: [1,100]
     
    230217     *
    231218     * @since 3.5.0
    232      * @access public
    233219     *
    234220     * @param int $quality Compression Quality. Range: [1,100]
     
    299285     *
    300286     * @since 3.5.0
    301      * @access protected
    302287     *
    303288     * @param string $filename
     
    360345     *
    361346     * @since 3.5.0
    362      * @access public
    363347     *
    364348     * @param string $suffix
     
    388372     *
    389373     * @since 3.5.0
    390      * @access public
    391374     *
    392375     * @return false|string suffix
     
    403386     *
    404387     * @since 3.5.0
    405      * @access protected
    406388     *
    407389     * @param string|stream $filename
     
    446428     *
    447429     * @static
    448      * @access protected
    449430     *
    450431     * @param string $extension
     
    474455     *
    475456     * @static
    476      * @access protected
    477457     *
    478458     * @param string $mime_type
Note: See TracChangeset for help on using the changeset viewer.