updated theme Twenty Nineteen version 3.3

This commit is contained in:
2026-06-03 21:29:36 +00:00
committed by Gitium
parent 4421f79f19
commit b7d289f90e
24 changed files with 456 additions and 568 deletions

View File

@ -27,6 +27,7 @@ class TwentyNineteen_SVG_Icons {
* @param string $group The group of icons ('ui' or 'social').
* @param string $icon The specific icon to retrieve.
* @param int $size The desired width and height for the SVG icon.
* @return string|null SVG code for the icon, or null if not found.
*/
public static function get_svg( $group, $icon, $size ) {
if ( 'ui' === $group ) {
@ -51,6 +52,7 @@ class TwentyNineteen_SVG_Icons {
*
* @param string $uri The URL of the social network link.
* @param int $size The desired width and height for the SVG icon.
* @return string|null SVG code for the social link icon, or null if not found.
*/
public static function get_social_link_svg( $uri, $size ) {
static $regex_map; // Only compute regex map once, for performance.