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-custom-colors.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
     
    1818     * @access public
    1919     *
    20      * @since 1.0.0
     20     * @since Twenty Twenty-One 1.0
    2121     */
    2222    public function __construct() {
     
    3939     * @param string $background_color The background color.
    4040     *
    41      * @since 1.0.0
     41     * @since Twenty Twenty-One 1.0
    4242     *
    4343     * @return string (hex color)
     
    5656     * @access public
    5757     *
    58      * @since 1.0.0
     58     * @since Twenty Twenty-One 1.0
    5959     *
    6060     * @param string|null $context Can be "editor" or null.
     
    9090     * @access public
    9191     *
    92      * @since 1.0.0
     92     * @since Twenty Twenty-One 1.0
    9393     *
    9494     * @return void
     
    105105     * @access public
    106106     *
    107      * @since 1.0.0
     107     * @since Twenty Twenty-One 1.0
    108108     *
    109109     * @return void
     
    130130     * @access public
    131131     *
    132      * @since 1.0.0
     132     * @since Twenty Twenty-One 1.0
    133133     *
    134134     * @param string $hex The HEX color.
     
    161161     * @access public
    162162     *
    163      * @since 1.0.0
     163     * @since Twenty Twenty-One 1.0
    164164     *
    165165     * @param array $classes The existing body classes.
Note: See TracChangeset for help on using the changeset viewer.