mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Bundled Themes: Add Mastodon domains for menu item icons.
This changeset adds the top 10 Mastodon domains by popularity to Twenty Twenty and Twenty Twenty-One Social icon feature. Note: other Mastodon domains can be added to the array of domain mapping using `twentytwenty_social_icons_map` and `twenty_twenty_one_social_icons_map` filters. Props triumvirate, sabernhardt, audrasjb, peterwilsoncc, rryyaanndd, ianbelanger. Fixes #57293, #49099. git-svn-id: https://develop.svn.wordpress.org/trunk@55061 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -214,6 +214,18 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) {
|
||||
'mail' => array(
|
||||
'mailto:',
|
||||
),
|
||||
'mastodon' => array(
|
||||
'mastodon.social',
|
||||
'pawoo.net',
|
||||
'mstdn.jp',
|
||||
'mastodon.cloud',
|
||||
'mastodon.online',
|
||||
'counter.social',
|
||||
'mstdn.social',
|
||||
'mas.to',
|
||||
'mastodon.world',
|
||||
'gc2.jp',
|
||||
),
|
||||
'pocket' => array(
|
||||
'getpocket.com',
|
||||
),
|
||||
|
||||
@@ -127,6 +127,18 @@ class Twenty_Twenty_One_SVG_Icons {
|
||||
'mail' => array(
|
||||
'mailto:',
|
||||
),
|
||||
'mastodon' => array(
|
||||
'mastodon.social',
|
||||
'pawoo.net',
|
||||
'mstdn.jp',
|
||||
'mastodon.cloud',
|
||||
'mastodon.online',
|
||||
'counter.social',
|
||||
'mstdn.social',
|
||||
'mas.to',
|
||||
'mastodon.world',
|
||||
'gc2.jp',
|
||||
),
|
||||
'pocket' => array(
|
||||
'getpocket.com',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user