Make WordPress Core


Ignore:
Timestamp:
12/17/2020 02:55:37 PM (4 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.
Fixes #51958.

File:
1 edited

Legend:

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

    r49798 r49826  
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
     
    1111 * Customize Notice Control class.
    1212 *
    13  * @since 1.0.0
     13 * @since Twenty Twenty-One 1.0
    1414 *
    1515 * @see WP_Customize_Control
     
    1919     * The control type.
    2020     *
    21      * @since 1.0.0
     21     * @since Twenty Twenty-One 1.0
    2222     *
    2323     * @var string
     
    3232     * @access public
    3333     *
    34      * @since 1.0.0
     34     * @since Twenty Twenty-One 1.0
    3535     *
    3636     * @return void
Note: See TracChangeset for help on using the changeset viewer.