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/classes/class-twentytwenty-svg-icons.php

    r48181 r51322  
    1212     * SVG ICONS CLASS
    1313     * Retrieve the SVG code for the specified icon. Based on a solution in Twenty Nineteen.
     14     *
     15     * @since Twenty Twenty 1.0
    1416     */
    1517    class TwentyTwenty_SVG_Icons {
     
    1719         * GET SVG CODE
    1820         * Get the SVG code for the specified icon
     21         *
     22         * @since Twenty Twenty 1.0
    1923         *
    2024         * @param string $icon  Icon name.
     
    6973         * GET SOCIAL LINK SVG
    7074         * Detects the social network from a URL and returns the SVG code for its icon.
     75         *
     76         * @since Twenty Twenty 1.0
    7177         *
    7278         * @param string $uri The URL to retrieve SVG for.
     
    117123         * Store the code for all SVGs in an array.
    118124         *
     125         * @since Twenty Twenty 1.0
    119126         * @var array
    120127         */
     
    170177         * specify all the domains it covers (including the .com TLD too, if applicable).
    171178         *
     179         * @since Twenty Twenty 1.0
    172180         * @var array
    173181         */
     
    225233         * Social Icons – svg sources.
    226234         *
     235         * @since Twenty Twenty 1.0
    227236         * @var array
    228237         */
Note: See TracChangeset for help on using the changeset viewer.