[wp-trac] [WordPress Trac] #57293: Twenty Twenty-One: Incorrect Mastodon domain (mastodon.com) for Social Icon in Footer Menu (was: Implicit Mastodon domain (mastodon.com) for Social Icon in Footer Menu Incorrect/ Non-Functional)

WordPress Trac noreply at wordpress.org
Thu Dec 8 08:25:12 UTC 2022


#57293: Twenty Twenty-One: Incorrect Mastodon domain (mastodon.com) for Social Icon
in Footer Menu
---------------------------+------------------------------
 Reporter:  triumvirate    |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------
Changes (by sabernhardt):

 * version:  6.1.1 => 5.6


Old description:

> = Reproduce:
>
> [https://wordpress.org/support/article/twenty-fifteen/#add-social-icons
> Follow this and add a mastodon profile URL]
>

> = Expected behavior:
>
> adding a link to a Mastodon URL replaces it, like e.g.
> [https://wordpress.org/support/article/twenty-twenty-one/#add-social-
> icons the other sites here], with the appropriate icon.
>
> Actual behavior: adding a link to a Mastodon instance URL doesn't replace
> it.
>
> = Details:
>
> As there is no entry in `social_icons_map` for `'mastodon'`, it defaults
> to only replacing URLs on the `mastodon.com` domain which, while
> humorous, [https://www.mastodon.com/ isn't effective because this isn't a
> social media website instance, but a Forestry Mulcher Company].
>
> = Definition of done:
>
> Adding a link to the following sites results in a Mastodon SVG being used
> (based on
> [https://instances.social/list/advanced#lang=&allowed=&prohibited=&min-
> users=&max-users= popularity]):
>
> {{{
> mastodon.social
> pawoo.net
> mstdn.jp
> mastodon.cloud
> mastodon.online
> counter.social
> mstdn.social
> mas.to
> mastodon.world
> gc2.jp
> mastodon.lol
> pixelfed.social
> mastodon.sdf.org
> c.im
> mastodonapp.uk
> universeodon.com
> mastodon.uno
> masto.ai
> techhub.social
> fosstodon.org
> brighteon.social
> mastodon.top
> mstdn.party
> mamot.fr
> infosec.exchange
> m.cmx.im
> ohai.social
> sfba.social
> troet.cafe
> mastodon.poppingboxes.org
> hachyderm.io
> alive.bar
> home.social
> kolektiva.social
> masthead.social
> }}}
>
> = Patch:
> https://gist.github.com/hasnolen/e2ded2c7e9b76919c0208ced213e63ab

New description:

 == Reproduce:

 [https://wordpress.org/support/article/twenty-fifteen/#add-social-icons
 Follow this and add a mastodon profile URL]


 == Expected behavior:

 adding a link to a Mastodon URL replaces it, like e.g.
 [https://wordpress.org/support/article/twenty-twenty-one/#add-social-icons
 the other sites here], with the appropriate icon.

 Actual behavior: adding a link to a Mastodon instance URL doesn't replace
 it.

 == Details:

 As there is no entry in `social_icons_map` for `'mastodon'`, it defaults
 to only replacing URLs on the `mastodon.com` domain which, while humorous,
 [https://www.mastodon.com/ isn't effective because this isn't a social
 media website instance, but a Forestry Mulcher Company].

 == Definition of done:

 Adding a link to the following sites results in a Mastodon SVG being used
 (based on
 [https://instances.social/list/advanced#lang=&allowed=&prohibited=&min-
 users=&max-users= popularity]):

 {{{
 mastodon.social
 pawoo.net
 mstdn.jp
 mastodon.cloud
 mastodon.online
 counter.social
 mstdn.social
 mas.to
 mastodon.world
 gc2.jp
 mastodon.lol
 pixelfed.social
 mastodon.sdf.org
 c.im
 mastodonapp.uk
 universeodon.com
 mastodon.uno
 masto.ai
 techhub.social
 fosstodon.org
 brighteon.social
 mastodon.top
 mstdn.party
 mamot.fr
 infosec.exchange
 m.cmx.im
 ohai.social
 sfba.social
 troet.cafe
 mastodon.poppingboxes.org
 hachyderm.io
 alive.bar
 home.social
 kolektiva.social
 masthead.social
 }}}

 == Patch:
 https://gist.github.com/hasnolen/e2ded2c7e9b76919c0208ced213e63ab

--

Comment:

 Thanks for the report!

 A similar ticket was opened for Twenty Twenty: #49099.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57293#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list