Make WordPress Core


Ignore:
Timestamp:
07/06/2021 12:34:36 PM (5 years ago)
Author:
desrosj
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].

Props SergeyBiryukov.
Merges [51322] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-content/themes/twentytwenty/inc/svg-icons.php

    r47122 r51338  
    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.