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

    r49247 r49826  
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
     
    1818 * to only specify a `$size` parameter in the svg methods.
    1919 *
    20  * @since 1.0.0
     20 * @since Twenty Twenty-One 1.0
    2121 */
    2222class Twenty_Twenty_One_SVG_Icons {
     
    2727     * @access protected
    2828     *
    29      * @since 1.0.0
     29     * @since Twenty Twenty-One 1.0
    3030     *
    3131     * @var array
     
    4545     * @access protected
    4646     *
    47      * @since 1.0.0
     47     * @since Twenty Twenty-One 1.0
    4848     *
    4949     * @var array
     
    9696     * specify all the domains it covers (including the .com TLD too, if applicable).
    9797     *
    98      * @since 1.0.0
     98     * @since Twenty Twenty-One 1.0
    9999     *
    100100     * @var array
     
    151151     * @access public
    152152     *
    153      * @since 1.0.0
     153     * @since Twenty Twenty-One 1.0
    154154     *
    155155     * @param string $group the icon group.
     
    175175         * the name of the group of icons, either "ui" or "social".
    176176         *
    177          * @since 1.0.0
     177         * @since Twenty Twenty-One 1.0
    178178         *
    179179         * @param array $arr Array of icons.
     
    199199     * @access public
    200200     *
    201      * @since 1.0.0
     201     * @since Twenty Twenty-One 1.0
    202202     *
    203203     * @param string $uri Social link.
     
    218218             * specify all the domains it covers (including the .com TLD too, if applicable).
    219219             *
    220              * @since 1.0.0
     220             * @since Twenty Twenty-One 1.0
    221221             *
    222222             * @param array $social_icons_map Array of default social icons.
     
    227227             * Filters Twenty Twenty-One's array of social icons.
    228228             *
    229              * @since 1.0.0
     229             * @since Twenty Twenty-One 1.0
    230230             *
    231231             * @param array $social_icons Array of default social icons.
Note: See TracChangeset for help on using the changeset viewer.