From 40df0ec5e2976da0e1ab4fb45788964ca04fb661 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 24 Aug 2023 15:32:09 +0000 Subject: [PATCH] Bundled Theme: Twenty Nineteen: Improve social media icon dimension attributes. Set the default width and height attributes of the SVG social icons to match the dimensions used within the CSS. This increases the attributes to 32px x 32 px. Props crunnells, mukesh27, laurelfulford, tahmidulkarim, jordanpak. Fixes #45950. git-svn-id: https://develop.svn.wordpress.org/trunk@56447 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentynineteen/inc/icon-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentynineteen/inc/icon-functions.php b/src/wp-content/themes/twentynineteen/inc/icon-functions.php index 76dba55094..900bcb665f 100644 --- a/src/wp-content/themes/twentynineteen/inc/icon-functions.php +++ b/src/wp-content/themes/twentynineteen/inc/icon-functions.php @@ -40,7 +40,7 @@ function twentynineteen_get_social_link_svg( $uri, $size = 24 ) { function twentynineteen_nav_menu_social_icons( $item_output, $item, $depth, $args ) { // Change SVG icon inside social links menu if there is supported URL. if ( 'social' === $args->theme_location ) { - $svg = twentynineteen_get_social_link_svg( $item->url, 26 ); + $svg = twentynineteen_get_social_link_svg( $item->url, 32 ); if ( empty( $svg ) ) { $svg = twentynineteen_get_icon_svg( 'link' ); }