Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (8 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-control.php

    r40804 r41162  
    2323     *
    2424     * @static
    25      * @access protected
    2625     * @var int
    2726     */
     
    3231     *
    3332     * @since 4.1.0
    34      * @access public
    3533     * @var int
    3634     */
     
    4139     *
    4240     * @since 3.4.0
    43      * @access public
    4441     * @var WP_Customize_Manager
    4542     */
     
    5047     *
    5148     * @since 3.4.0
    52      * @access public
    5349     * @var string
    5450     */
     
    5955     *
    6056     * @since 3.4.0
    61      * @access public
    6257     * @var array
    6358     */
     
    6863     *
    6964     * @since 3.4.0
    70      * @access public
    7165     * @var string
    7266     */
     
    8074     *
    8175     * @since 4.5.0
    82      * @access public
    8376     * @var string
    8477     */
     
    8982     *
    9083     * @since 3.4.0
    91      * @access public
    9284     * @var int
    9385     */
     
    9890     *
    9991     * @since 3.4.0
    100      * @access public
    10192     * @var string
    10293     */
     
    10798     *
    10899     * @since 3.4.0
    109      * @access public
    110100     * @var string
    111101     */
     
    116106     *
    117107     * @since 4.0.0
    118      * @access public
    119108     * @var string
    120109     */
     
    125114     *
    126115     * @since 3.4.0
    127      * @access public
    128116     * @var array
    129117     */
     
    136124     *
    137125     * @since 4.0.0
    138      * @access public
    139126     * @var array
    140127     */
     
    145132     *
    146133     * @since 4.7.0
    147      * @access public
    148134     * @var bool
    149135     */
     
    153139     * @deprecated It is better to just call the json() method
    154140     * @since 3.4.0
    155      * @access public
    156141     * @var array
    157142     */
     
    162147     *
    163148     * @since 3.4.0
    164      * @access public
    165149     * @var string
    166150     */
     
    171155     *
    172156     * @since 4.0.0
    173      * @access public
    174157     *
    175158     * @see WP_Customize_Control::active()
Note: See TracChangeset for help on using the changeset viewer.