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.php

    r49578 r49829  
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
     
    1212     * Customizer Settings.
    1313     *
    14      * @since 1.0.0
     14     * @since Twenty Twenty-One 1.0
    1515     */
    1616    class Twenty_Twenty_One_Customize {
     
    2121         * @access public
    2222         *
    23          * @since 1.0.0
     23         * @since Twenty Twenty-One 1.0
    2424         */
    2525        public function __construct() {
     
    3232         * @access public
    3333         *
    34          * @since 1.0.0
     34         * @since Twenty Twenty-One 1.0
    3535         *
    3636         * @param WP_Customize_Manager $wp_customize Theme Customizer object.
     
    154154         * @access public
    155155         *
    156          * @since 1.0.0
     156         * @since Twenty Twenty-One 1.0
    157157         *
    158158         * @param bool $checked Whether or not a box is checked.
     
    169169         * @access public
    170170         *
    171          * @since 1.0.0
     171         * @since Twenty Twenty-One 1.0
    172172         *
    173173         * @return void
     
    182182         * @access public
    183183         *
    184          * @since 1.0.0
     184         * @since Twenty Twenty-One 1.0
    185185         *
    186186         * @return void
Note: See TracChangeset for help on using the changeset viewer.