Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46827 r47122  
    3737            $svg  = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code.
    3838            $svg  = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs.
    39             $svg  = preg_replace( '/>\s*</', '><', $svg ); // Remove white space between SVG tags.
     39            $svg  = preg_replace( '/>\s*</', '><', $svg );    // Remove whitespace between SVG tags.
    4040            return $svg;
    4141        }
Note: See TracChangeset for help on using the changeset viewer.