Repository navigation
Conversation
In Jetpack 11.8 or higher, the plugin includes Mastodon as a valid Social Menu option. Let's fallback to Jetpack's implementation in this case. This only fallbacks to Jetpack for the Social Menu logic; it doesnt touch the block theme feature, since that's not supported by Jetpack. For reference, here is Jetpack's PR: Automattic/jetpack#28175
|
Just a question: is there a way to "force" a Mastodon icon based on the "label," like I do in this plugin? Like, if the label says "Mastodon," maybe Jetpack can assume Mastodon rather than rely on a (limited) list of instances? Seems like a safe enough bet. (Maybe in a next Jetpack version?) I noticed in Jetpack there is a way to filter the instance list, yet whoever happens to be using this plugin (I have no idea if that's going to be a lot of people or not, since newer "default" themes have their own icon functions and the Site Editor has its Social Icons block [which also has a Mastodon icon, by the way]) may very well see the icon "break" until they implement the correct filter callback. |
There is not, that's a good point. You can disregard this PR then! It's something we had avoided doing when we first implemented Social Menus, to avoid potential mixups. I don't think we would come back to that in Jetpack now, especially since we're not really actively developing Social Menus anymore, for the reason you mentioned: it's very true that less and less people are going to access the Social Menu feature :)
Yup, folks would have to know about the filter indeed, or will get to know about it only when contacting support or googling. |
|
Was thinking (not sure of the added value, but okay) we can check against the instance list or something, to decide which way to go. There may be another conflict, though, and that's that there would be two SVG symbols with |
Nice plugin! As Jetpack has made some changes in its upcoming version (scheduled to be released next Tuesday), I wanted to reach out and suggest a change to ensure full compatibility between the 2 plugins.
In Jetpack 11.8 or higher, the plugin includes Mastodon as a valid Social Menu option. Let's fallback to Jetpack's implementation in this case.
This only fallbacks to Jetpack for the Social Menu logic; it doesnt touch the block theme feature, since that's not supported by Jetpack.
For reference, here is Jetpack's PR:
Automattic/jetpack#28175