Make WordPress Core

Changeset 55061


Ignore:
Timestamp:
01/13/2023 01:17:45 PM (4 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.

Location:
trunk/src/wp-content/themes
Files:
2 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',
  • 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.