Opened 4 months ago
Last modified 4 months ago
#7643 new defect (bug)
Follow Button not working properly
Reported by: | pranitdugad | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Component: | Make (Get Involved) / P2 | Keywords: | needs-patch |
Cc: |
Description
If the user once clicks on the follow button it showing the "following" and after the user clicks on stop following it still shows the "following" after refreshing the page which is not proper. (as shown in the video)
Video: https://jmp.sh/B8saiTxu
Page Url : https://make.wordpress.org/docs
Change History (4)
This ticket was mentioned in Slack in #meta by jamieblomerus. View the logs.
4 months ago
#3
@
4 months ago
The Jetpack Subscriptions module and its Jetpack_Subscriptions
class do not currently provide a method for users to unsubscribe. As a solution, I propose disabling the "Follow" button once a user follows and displaying a message such as:
To manage your subscriptions, please visit the link in your email or go to Subscription management.
If an alternative method to handle subscriptions without relying on Jetpack_Subscriptions
would be available, that would be preferable. However, this approach seems to be our best option for now.
I can confirm that this is indeed an issue. I think it is caused by that the mu-plugin class-o2-follow.php handling subscribing for
Jetpack_Subscriptions
but not including any function for unsubscribing. Hence the fix would be to add a function for that.