Make WordPress Core


Ignore:
Timestamp:
07/01/2021 12:58:34 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Improve documentation per the documentation standards:

  • Remove unnecessary @access tags that were previously removed from core.
  • Remove an empty line between @param and @return tags.
  • Correct alignment of @param tags.

Follow-up to [41161], [41162], [41168], [49216], [49220].

See #52628, #53461.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php

    r49826 r51294  
    1919                 * Constructor. Instantiate the object.
    2020                 *
    21                  * @access public
    22                  *
    2321                 * @since Twenty Twenty-One 1.0
    2422                 */
    … …  
    3028                 * Register customizer options.
    3129                 *
    32                  * @access public
    33                  *
    3430                 * @since Twenty Twenty-One 1.0
    3531                 *
    3632                 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
    37                  *
    3833                 * @return void
    3934                 */
    … …  
    152147                 * Sanitize boolean for checkbox.
    153148                 *
    154                  * @access public
    155                  *
    156149                 * @since Twenty Twenty-One 1.0
    157150                 *
    158151                 * @param bool $checked Whether or not a box is checked.
    159                  *
    160152                 * @return bool
    161153                 */
    … …  
    166158                /**
    167159                 * Render the site title for the selective refresh partial.
    168                  *
    169                  * @access public
    170160                 *
    171161                 * @since Twenty Twenty-One 1.0
    … …  
    180170                 * Render the site tagline for the selective refresh partial.
    181171                 *
    182                  * @access public
    183                  *
    184172                 * @since Twenty Twenty-One 1.0
    185173                 *
Note: See TracChangeset for help on using the changeset viewer.