Sharing: Gracefully handle multiple instances per post
By default, sharing_display() should only appear once per post, though users may want to insert multiple instances (before and after content, for example).
Since the sharing counts are inserted based on the element's ID, jQuery will only insert the count to the first instance of the sharing buttons.
Instead of using ID, we could use a class instead and insert it into all instances of a particular post's sharing buttons.
https://github.com/Automattic/jetpack/blob/master/modules/sharedaddy/sharing.js#L34 https://github.com/Automattic/jetpack/blob/master/modules/sharedaddy/sharing-sources.php#L80 (I think)
cc: @david-binda
@zinigor do any of your PR solve this issue? I am a bit confused what is going on here.
@enejb Yes, #1374 fixes it.
Fixed in #1374