Make WordPress Core


Ignore:
Timestamp:
01/13/2023 01:17:45 PM (2 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php

    r51693 r55061  
    215215                'mailto:',
    216216            ),
     217            'mastodon'  => array(
     218                'mastodon.social',
     219                'pawoo.net',
     220                'mstdn.jp',
     221                'mastodon.cloud',
     222                'mastodon.online',
     223                'counter.social',
     224                'mstdn.social',
     225                'mas.to',
     226                'mastodon.world',
     227                'gc2.jp',
     228            ),
    217229            'pocket'    => array(
    218230                'getpocket.com',
Note: See TracChangeset for help on using the changeset viewer.