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/template-tags.php

    r49726 r49826  
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
     
    1212     * Prints HTML with meta information for the current post-date/time.
    1313     *
    14      * @since 1.0.0
     14     * @since Twenty Twenty-One 1.0
    1515     *
    1616     * @return void
     
    3838     * Prints HTML with meta information about theme author.
    3939     *
    40      * @since 1.0.0
     40     * @since Twenty Twenty-One 1.0
    4141     *
    4242     * @return void
     
    6060     * Footer entry meta is displayed differently in archives and single posts.
    6161     *
    62      * @since 1.0.0
     62     * @since Twenty Twenty-One 1.0
    6363     *
    6464     * @return void
     
    177177     * element when on single views.
    178178     *
    179      * @since 1.0.0
     179     * @since Twenty Twenty-One 1.0
    180180     *
    181181     * @return void
     
    219219     * Print the next and previous posts navigation.
    220220     *
    221      * @since 1.0.0
     221     * @since Twenty Twenty-One 1.0
    222222     *
    223223     * @return void
Note: See TracChangeset for help on using the changeset viewer.