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/customize/class-wp-customize-custom-css-setting.php

    r40073 r41162  
    2323     *
    2424     * @since 4.7.0
    25      * @access public
    2625     * @var string
    2726     */
     
    3231     *
    3332     * @since 4.7.0
    34      * @access public
    3533     * @var string
    3634     */
     
    4139     *
    4240     * @since 4.7.0
    43      * @access public
    4441     * @var string
    4542     */
     
    5047     *
    5148     * @since 4.7.0
    52      * @access public
    5349     * @var string
    5450     */
     
    5955     *
    6056     * @since 4.7.0
    61      * @access public
    6257     *
    6358     * @throws Exception If the setting ID does not match the pattern `custom_css[$stylesheet]`.
     
    8378     *
    8479     * @since 4.7.9
    85      * @access public
    8680     *
    8781     * @return bool False when preview short-circuits due no change needing to be previewed.
     
    10296     *
    10397     * @since 4.7.0
    104      * @access private
    10598     * @see wp_get_custom_css()
    10699     *
     
    123116     *
    124117     * @since 4.7.0
    125      * @access public
    126118     * @see WP_Customize_Setting::value()
    127119     *
     
    160152     *
    161153     * @since 4.7.0
    162      * @access public
    163154     *
    164155     * @param string $css The input string.
     
    270261     *
    271262     * @since 4.7.0
    272      * @access public
    273263     *
    274264     * @param string $css The input value.
     
    307297     *
    308298     * @since 4.7.0
    309      * @access private
    310299     *
    311300     * @param string $opening_char The opening character.
     
    329318     *
    330319     * @since 4.7.0
    331      * @access private
    332320     *
    333321     * @param string $char A character.
     
    348336     *
    349337     * @since 4.7.0
    350      * @access private
    351338     *
    352339     * @param string $css The CSS input string.
     
    393380     *
    394381     * @since 4.7.0
    395      * @access private
    396382     *
    397383     * @param string $css The CSS input string.
Note: See TracChangeset for help on using the changeset viewer.