Make WordPress Core


Ignore:
Timestamp:
07/01/2021 12:58:34 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Improve documentation per the documentation standards:

  • Remove unnecessary @access tags that were previously removed from core.
  • Remove an empty line between @param and @return tags.
  • Correct alignment of @param tags.

Follow-up to [41161], [41162], [41168], [49216], [49220].

See #52628, #53461.

File:
1 edited

Legend:

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

    r49826 r51294  
    2424    /**
    2525     * User Interface icons – svg sources.
    26      *
    27      * @access protected
    2826     *
    2927     * @since Twenty Twenty-One 1.0
     
    4240    /**
    4341     * Social Icons – svg sources.
    44      *
    45      * @access protected
    4642     *
    4743     * @since Twenty Twenty-One 1.0
     
    149145     * @static
    150146     *
    151      * @access public
    152      *
    153      * @since Twenty Twenty-One 1.0
    154      *
    155      * @param string $group the icon group.
    156      * @param string $icon The icon.
    157      * @param int    $size The icon-size in pixels.
    158      *
     147     * @since Twenty Twenty-One 1.0
     148     *
     149     * @param string $group The icon group.
     150     * @param string $icon  The icon.
     151     * @param int    $size  The icon-size in pixels.
    159152     * @return string
    160153     */
     
    197190     * @static
    198191     *
    199      * @access public
    200      *
    201      * @since Twenty Twenty-One 1.0
    202      *
    203      * @param string $uri Social link.
     192     * @since Twenty Twenty-One 1.0
     193     *
     194     * @param string $uri  Social link.
    204195     * @param int    $size The icon-size in pixels.
    205      *
    206196     * @return string|null
    207197     */
Note: See TracChangeset for help on using the changeset viewer.