Make WordPress Core


Ignore:
Timestamp:
11/25/2025 05:00:39 AM (5 months ago)
Author:
westonruter
Message:

Bundled Themes: Add missing @return tags and descriptions.

Developed in https://github.com/WordPress/wordpress-develop/pull/10533

Props huzaifaalmesbah, sabernhardt, palak678, westonruter.
See #64224.
Fixes #64277.

File:
1 edited

Legend:

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

    r59090 r61302  
    2828     * @param string $icon  The specific icon to retrieve.
    2929     * @param int    $size  The desired width and height for the SVG icon.
     30     * @return string|null SVG code for the icon, or null if not found.
    3031     */
    3132    public static function get_svg( $group, $icon, $size ) {
     
    5253     * @param string $uri  The URL of the social network link.
    5354     * @param int    $size The desired width and height for the SVG icon.
     55     * @return string|null SVG code for the social link icon, or null if not found.
    5456     */
    5557    public static function get_social_link_svg( $uri, $size ) {
Note: See TracChangeset for help on using the changeset viewer.