Make WordPress Core


Ignore:
Timestamp:
07/03/2021 09:13:48 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add missing documentation for some filters.

Add missing @since tags for some functions.

Correct alignment of some @param tags.

Follow-up to [46271], [46278], [51304].

See #52628, #53461.

File:
1 edited

Legend:

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

    r47122 r51322  
    1313     * Output and get the SVG markup for an icon in the TwentyTwenty_SVG_Icons class.
    1414     *
     15     * @since Twenty Twenty 1.0
     16     *
    1517     * @param string $svg_name The name of the icon.
    16      * @param string $group The group the icon belongs to.
    17      * @param string $color Color code.
     18     * @param string $group    The group the icon belongs to.
     19     * @param string $color    Color code.
    1820     */
    1921    function twentytwenty_the_theme_svg( $svg_name, $group = 'ui', $color = '' ) {
     
    2729     * Get information about the SVG icon.
    2830     *
     31     * @since Twenty Twenty 1.0
     32     *
    2933     * @param string $svg_name The name of the icon.
    30      * @param string $group The group the icon belongs to.
    31      * @param string $color Color code.
     34     * @param string $group    The group the icon belongs to.
     35     * @param string $color    Color code.
    3236     */
    3337    function twentytwenty_get_theme_svg( $svg_name, $group = 'ui', $color = '' ) {
Note: See TracChangeset for help on using the changeset viewer.