From b3d3473ba08afbd669167de9999394f75729de0a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 6 Oct 2021 15:39:05 +0000 Subject: [PATCH] Twenty Twenty-One: Remove duplicate `width` and `height` values from social icons. These values are added dynamically by the `Twenty_Twenty_One_SVG_Icons::get_svg()` method and are not needed in the source array. Follow-up to [49216]. Props max-dayala, laxman-prajapati, sabernhardt, Presskopp, mukesh27. Fixes #54208. Built from https://develop.svn.wordpress.org/trunk@51893 git-svn-id: http://core.svn.wordpress.org/trunk@51486 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-twenty-twenty-one-svg-icons.php | 76 +++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php index 34a408f7c7..3a82cf76ab 100644 --- a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php +++ b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php @@ -45,44 +45,44 @@ class Twenty_Twenty_One_SVG_Icons { * @var array */ protected static $social_icons = array( - '500px' => '', - 'amazon' => '', - 'bandcamp' => '', - 'behance' => '', - 'codepen' => '', - 'deviantart' => '', - 'dribbble' => '', - 'dropbox' => '', - 'etsy' => '', - 'facebook' => '', - 'feed' => '', - 'flickr' => '', - 'foursquare' => '', - 'goodreads' => '', - 'google' => '', - 'github' => '', - 'instagram' => '', - 'lastfm' => '', - 'linkedin' => '', - 'mail' => '', - 'mastodon' => '', - 'medium' => '', - 'meetup' => '', - 'pinterest' => '', - 'pocket' => '', - 'reddit' => '', - 'skype' => '', - 'snapchat' => '', - 'soundcloud' => '', - 'spotify' => '', - 'tumblr' => '', - 'twitch' => '', - 'twitter' => '', - 'vimeo' => '', - 'vk' => '', - 'wordpress' => '', - 'yelp' => '', - 'youtube' => '', + '500px' => '', + 'amazon' => '', + 'bandcamp' => '', + 'behance' => '', + 'codepen' => '', + 'deviantart' => '', + 'dribbble' => '', + 'dropbox' => '', + 'etsy' => '', + 'facebook' => '', + 'feed' => '', + 'flickr' => '', + 'foursquare' => '', + 'goodreads' => '', + 'google' => '', + 'github' => '', + 'instagram' => '', + 'lastfm' => '', + 'linkedin' => '', + 'mail' => '', + 'mastodon' => '', + 'medium' => '', + 'meetup' => '', + 'pinterest' => '', + 'pocket' => '', + 'reddit' => '', + 'skype' => '', + 'snapchat' => '', + 'soundcloud' => '', + 'spotify' => '', + 'tumblr' => '', + 'twitch' => '', + 'twitter' => '', + 'vimeo' => '', + 'vk' => '', + 'wordpress' => '', + 'yelp' => '', + 'youtube' => '', ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index ba470bd9fa..35fabe3a2b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51892'; +$wp_version = '5.9-alpha-51893'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.