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-customize-setting.php

    r40804 r41162  
    2222     *
    2323     * @since 3.4.0
    24      * @access public
    2524     * @var WP_Customize_Manager
    2625     */
     
    3130     *
    3231     * @since 3.4.0
    33      * @access public
    3432     * @var string
    3533     */
     
    4038     *
    4139     * @since 3.4.0
    42      * @access public
    4340     * @var string
    4441     */
     
    4946     *
    5047     * @since 3.4.0
    51      * @access public
    5248     * @var string|array
    5349     */
     
    5854     *
    5955     * @since 3.4.0
    60      * @access public
    6156     * @var string
    6257     */
     
    6762     *
    6863     * @since 3.4.0
    69      * @access public
    7064     * @var string
    7165     */
     
    8175     *
    8276     * @since 3.4.0
    83      * @access public
    8477     * @var string
    8578     */
     
    9083     *
    9184     * @since 4.6.0
    92      * @access public
    9385     * @var callable
    9486     */
     
    9991     *
    10092     * @since 3.4.0
    101      * @access public
    10293     * @var callable
    10394     */
     
    10899     *
    109100     * @since 3.4.0
    110      * @access public
    111101     * @var string
    112102     */
     
    122112     *
    123113     * @since 4.2.0
    124      * @access public
    125114     * @var bool
    126115     */
     
    131120     *
    132121     * @since 3.4.0
    133      * @access protected
    134122     * @var array
    135123     */
     
    140128     *
    141129     * @since 4.4.0
    142      * @access protected
    143130     * @var bool
    144131     */
     
    150137     * @since 4.4.0
    151138     * @static
    152      * @access protected
    153139     * @var array
    154140     */
     
    159145     *
    160146     * @since 4.4.0
    161      * @access protected
    162147     * @var bool
    163148     */
     
    278263     *
    279264     * @since 4.2.0
    280      * @access protected
    281265     * @var int
    282266     */
     
    302286     * @see WP_Customize_Setting::preview()
    303287     * @since 4.1.1
    304      * @access protected
    305288     * @var mixed
    306289     */
Note: See TracChangeset for help on using the changeset viewer.