Making WordPress.org

Opened 4 months ago

Last modified 4 months ago

#7643 new defect (bug)

Follow Button not working properly

Reported by: pranitdugad's profile 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)

#1 @jamieblomerus
4 months ago

  • Keywords needs-patch added

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.

This ticket was mentioned in Slack in #meta by jamieblomerus. View the logs.


4 months ago

#3 @jamieblomerus
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.

This ticket was mentioned in Slack in #meta by courtneyengle. View the logs.


4 months ago

Note: See TracTickets for help on using tickets.