Make WordPress Core


Ignore:
Timestamp:
12/17/2020 03:08:06 PM (3 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Correct @since inline documentation tags.

Previously, 1.0.0 was used for the version. This is inconsistent with the versioning used in the other default themes, which use use X.X and not X.X.X.

This change corrects all 1.0.0 occurrences to 1.0, and adds the additional context of Twenty Twenty-One to avoid confusion with WordPress 1.0.

Props SergeyBiryukov, poena.
Merges [49826] to the 5.6 branch.
Fixes #51958.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php

    r49819 r49829  
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
     
    1818     * @access public
    1919     *
    20      * @since 1.0.0
     20     * @since Twenty Twenty-One 1.0
    2121     */
    2222    public function __construct() {
     
    5252     * @access public
    5353     *
    54      * @since 1.0.0
     54     * @since Twenty Twenty-One 1.0
    5555     *
    5656     * @return void
     
    9191     * @access public
    9292     *
    93      * @since 1.0.0
     93     * @since Twenty Twenty-One 1.0
    9494     *
    9595     * @return void
     
    111111     * @access public
    112112     *
    113      * @since 1.0.0
     113     * @since Twenty Twenty-One 1.0
    114114     *
    115115     * @return void
     
    133133     * @access public
    134134     *
    135      * @since 1.0.0
     135     * @since Twenty Twenty-One 1.0
    136136     *
    137137     * @param WP_Customize_Manager $wp_customize Theme Customizer object.
     
    225225     * @access public
    226226     *
    227      * @since 1.0.0
     227     * @since Twenty Twenty-One 1.0
    228228     *
    229229     * @param string $classes The classes for <html> element.
     
    250250     * @access public
    251251     *
    252      * @since 1.0.0
     252     * @since Twenty Twenty-One 1.0
    253253     *
    254254     * @param string $classes The admin body-classes.
     
    283283     * @access public
    284284     *
    285      * @since 1.0.0
     285     * @since Twenty Twenty-One 1.0
    286286     *
    287287     * @return bool
     
    301301     * @access public
    302302     *
    303      * @since 1.0.0
     303     * @since Twenty Twenty-One 1.0
    304304     *
    305305     * @return void
     
    320320     * @access public
    321321     *
    322      * @since 1.0.0
     322     * @since Twenty Twenty-One 1.0
    323323     *
    324324     * @param array $attrs The attributes to add to our <button> element.
     
    381381     * @access public
    382382     *
    383      * @since 1.0.0
     383     * @since Twenty Twenty-One 1.0
    384384     *
    385385     * @return void
     
    396396     * @access public
    397397     *
    398      * @since 1.0.0
     398     * @since Twenty Twenty-One 1.0
    399399     *
    400400     * @return void
Note: See TracChangeset for help on using the changeset viewer.