[wp-meta] [Making WordPress.org] #7877: Share on Mastodon icon doesn't work

Making WordPress.org noreply at wordpress.org
Mon Jan 6 09:34:36 UTC 2025


#7877: Share on Mastodon icon doesn't work
--------------------------------------+---------------------
 Reporter:  sebastienserre            |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Make (Get Involved) / P2  |  Resolution:
 Keywords:  needs-patch 2nd-opinion   |
--------------------------------------+---------------------

Comment (by jeherve):

 The Mastodon modal relies on a query parameter (`nb`) that gets added to
 the end of the sharing URLs. This should happen here:
 https://plugins.trac.wordpress.org/browser/jetpack/tags/14.1/modules/sharedaddy/sharing.js#L471

 However, that parameter is not properly added on the make p2s, even though
 the sharing script above is loaded on the page:

 [[Image(https://cldup.com/-fnfR8GbHJ.png)]]

 It may be interesting to add some debugging in that sharing script above
 (or rather
 [https://plugins.trac.wordpress.org/browser/jetpack/tags/14.1/_inc/build/sharedaddy/sharing.min.js
 the minified version] when in a production environment or if
 `SCRIPT_DEBUG` is set to `false`) to figure out if `init()` gets triggered
 as expected.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7877#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list