[buddypress-trac] [BuddyPress Trac] #9301: Template notice not displayed for logged-out users when clicking on email unsubscribe link

buddypress-trac noreply at wordpress.org
Thu Aug 28 20:36:55 UTC 2025


#9301: Template notice not displayed for logged-out users when clicking on email
unsubscribe link
--------------------------+------------------------------
 Reporter:  r-a-y         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Emails        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by r-a-y):

 > Do you have any memory when that cookie data would actually be used?

 See
 https://github.com/buddypress/buddypress/blob/33e618df29df7126edd6d714147589bdf2370ba1/src
 /bp-core/bp-core-functions.php#L4594-L4596

 `bp_core_add_message()` is used which sets the cookie data for the
 unsubscribe message and then the redirect takes place to the members
 profile URL. The message is then displayed for logged-in users, but for a
 logged out user, this message doesn't display due to r14103. We need to
 add back some form of messaging here for logged-out users.

 As a tangent, a site that I'm working on is looking into the unsubscribe
 behavior and preferably, the unsubscribe flow needs a better UX. Should a
 user really be redirected to the user's profile URL when unsubscribing?
 The unsubscribe landing page should preferably be a minimal page where you
 can see what is happening. There should also be a confirmation of the
 unsubscribe action. Right now, no confirmation occurs as the unsubscribe
 happens automatically.

 We should look into how other email unsubscribe workflows and adapt to
 best practices.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9301#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list