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/classes/class-twenty-twenty-one-customize-color-control.php

    r49216 r49829  
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
     
    1111 * Customize Color 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
     
    3030     * @access public
    3131     *
    32      * @since 1.0.0
     32     * @since Twenty Twenty-One 1.0
    3333     *
    3434     * @var array
     
    4141     * @access public
    4242     *
    43      * @since 1.0.0
     43     * @since Twenty Twenty-One 1.0
    4444     *
    4545     * @return void
     
    6363     * @access public
    6464     *
    65      * @since 1.0.0
     65     * @since Twenty Twenty-One 1.0
    6666     *
    6767     * @uses WP_Customize_Control::to_json()
Note: See TracChangeset for help on using the changeset viewer.