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/inc/back-compat.php

    r49247 r49826  
    99 * @package WordPress
    1010 * @subpackage Twenty_Twenty_One
    11  * @since 1.0.0
     11 * @since Twenty Twenty-One 1.0
    1212 */
    1313
     
    1515 * Display upgrade notice on theme switch.
    1616 *
    17  * @since 1.0.0
     17 * @since Twenty Twenty-One 1.0
    1818 *
    1919 * @return void
     
    3030 * the theme on WordPress versions prior to 5.3.
    3131 *
    32  * @since 1.0.0
     32 * @since Twenty Twenty-One 1.0
    3333 *
    3434 * @global string $wp_version WordPress version.
     
    4949 * Prevents the Customizer from being loaded on WordPress versions prior to 5.3.
    5050 *
    51  * @since 1.0.0
     51 * @since Twenty Twenty-One 1.0
    5252 *
    5353 * @global string $wp_version WordPress version.
     
    7373 * Prevents the Theme Preview from being loaded on WordPress versions prior to 5.3.
    7474 *
    75  * @since 1.0.0
     75 * @since Twenty Twenty-One 1.0
    7676 *
    7777 * @global string $wp_version WordPress version.
Note: See TracChangeset for help on using the changeset viewer.