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

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