Make WordPress Core

Changeset 48181


Ignore:
Timestamp:
06/26/2020 02:49:29 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Correct parameter types and @since version for twentytwenty_svg_icon_color filter.

Follow-up to [48180].

See #48713.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php

    r48180 r48181  
    1818                 * Get the SVG code for the specified icon
    1919                 *
    20                  * @param string $icon Icon name.
     20                 * @param string $icon  Icon name.
    2121                 * @param string $group Icon group.
    2222                 * @param string $color Color.
     
    3737                         * the name of the group of icons, either "ui" or "social".
    3838                         *
    39                          * @since 1.5.0
     39                         * @since Twenty Twenty 1.5
    4040                         *
    4141                         * @param array $arr Array of icons.
     
    4646                         * Filters an SVG icon's color.
    4747                         *
    48                          * @since 1.5.0
    49                          *
    50                          * @param array $color The icon color.
    51                          * @param array $icon  The icon name.
    52                          * @param array $group The icon group.
     48                         * @since Twenty Twenty 1.5
     49                         *
     50                         * @param string $color The icon color.
     51                         * @param string $icon  The icon name.
     52                         * @param string $group The icon group.
    5353                         */
    5454                        $color = apply_filters( 'twentytwenty_svg_icon_color', $color, $icon, $group );
     
    8383                                 * specify all the domains it covers (including the .com TLD too, if applicable).
    8484                                 *
    85                                  * @since 1.5.0
     85                                 * @since Twenty Twenty 1.5
    8686                                 *
    8787                                 * @param array $social_icons_map Array of default social icons.
     
    9292                                 * Filters Twenty Twenty's array of social icons.
    9393                                 *
    94                                  * @since 1.5.0
     94                                 * @since Twenty Twenty 1.5
    9595                                 *
    9696                                 * @param array $social_icons Array of default social icons.
Note: See TracChangeset for help on using the changeset viewer.