Make WordPress Core


Ignore:
Timestamp:
01/13/2023 01:17:45 PM (16 months 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/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php

    r51893 r55061  
    128128            'mailto:',
    129129        ),
     130        'mastodon'  => array(
     131            'mastodon.social',
     132            'pawoo.net',
     133            'mstdn.jp',
     134            'mastodon.cloud',
     135            'mastodon.online',
     136            'counter.social',
     137            'mstdn.social',
     138            'mas.to',
     139            'mastodon.world',
     140            'gc2.jp',
     141        ),
    130142        'pocket'    => array(
    131143            'getpocket.com',
Note: See TracChangeset for help on using the changeset viewer.