From 8905ffc3196bb47c1dac181819fad50e4da8631d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 16 Aug 2021 12:53:53 +0000 Subject: [PATCH] Twenty Twenty: Add support for `wa.me` links in Social menu. This ensures that `wa.me` links, currently preferred by WhatsApp, have the same icon as `whatsapp.com` links. Follow-up to [47243], [51617]. Props sabernhardt, macmanx. Fixes #50542. git-svn-id: https://develop.svn.wordpress.org/trunk@51618 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentytwenty/classes/class-twentytwenty-svg-icons.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php index 7fee14b569..d735037543 100644 --- a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php +++ b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php @@ -223,6 +223,10 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) { 'twitch' => array( 'twitch.tv', ), + 'whatsapp' => array( + 'wa.me', + 'whatsapp.com', + ), 'wordpress' => array( 'wordpress.com', 'wordpress.org',