Make WordPress Core


Ignore:
Timestamp:
12/17/2020 03:08:06 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.
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/inc/starter-content.php

    r49578 r49829  
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
     
    1515 * Passes it through the `twentytwenty_starter_content` filter before returning.
    1616 *
    17  * @since 1.0.0
     17 * @since Twenty Twenty-One 1.0
    1818 *
    1919 * @return array A filtered array of args for the starter_content.
     
    177177     * Filters the array of starter content.
    178178     *
    179      * @since 1.0.0
     179     * @since Twenty Twenty-One 1.0
    180180     *
    181181     * @param array $starter_content Array of starter content.
Note: See TracChangeset for help on using the changeset viewer.