WordPress.org

Make WordPress Core


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

    r38829 r41162  
    2727     *
    2828     * @static
    29      * @access protected
    3029     * @var int
    3130     */
     
    3635     *
    3736     * @since 4.1.0
    38      * @access public
    3937     * @var int
    4038     */
     
    4543     *
    4644     * @since 3.4.0
    47      * @access public
    4845     * @var WP_Customize_Manager
    4946     */
     
    5451     *
    5552     * @since 3.4.0
    56      * @access public
    5753     * @var string
    5854     */
     
    6359     *
    6460     * @since 3.4.0
    65      * @access public
    6661     * @var integer
    6762     */
     
    7267     *
    7368     * @since 4.0.0
    74      * @access public
    7569     * @var string
    7670     */
     
    8175     *
    8276     * @since 3.4.0
    83      * @access public
    8477     * @var string
    8578     */
     
    9083     *
    9184     * @since 3.4.0
    92      * @access public
    9385     * @var string|array
    9486     */
     
    9991     *
    10092     * @since 3.4.0
    101      * @access public
    10293     * @var string
    10394     */
     
    10899     *
    109100     * @since 3.4.0
    110      * @access public
    111101     * @var string
    112102     */
     
    117107     *
    118108     * @since 3.4.0
    119      * @access public
    120109     * @var array
    121110     */
     
    126115     *
    127116     * @since 4.1.0
    128      * @access public
    129117     * @var string
    130118     */
     
    135123     *
    136124     * @since 4.1.0
    137      * @access public
    138125     *
    139126     * @see WP_Customize_Section::active()
     
    150137     *
    151138     * @since 4.7.0
    152      * @access public
    153139     *
    154140     * @var bool Indicates whether the Section's description should be
     
    192178     *
    193179     * @since 4.1.0
    194      * @access public
    195180     *
    196181     * @return bool Whether the section is active to the current preview.
     
    220205     *
    221206     * @since 4.1.0
    222      * @access public
    223207     *
    224208     * @return true Always true.
     
    332316     *
    333317     * @since 4.3.0
    334      * @access public
    335318     *
    336319     * @see WP_Customize_Manager::render_template()
     
    351334     *
    352335     * @since 4.3.0
    353      * @access protected
    354336     *
    355337     * @see WP_Customize_Section::print_template()
Note: See TracChangeset for help on using the changeset viewer.