[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
Wed Sep 3 15:38:20 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 has-screenshots  |
------------------------------------------+------------------------------

Comment (by emaralive):

 Replying to [comment:8 r-a-y]:
 > The registration and activation pages also uses `bp_core_add_message()`,
 which would affect logged-out users:...
 Thanks for the reply, at the moment, the 3 indicated situations
 (registration, activation & account deletion) appear to be outside of the
 scope for this ticket (unsubscribe), I made a
 [https://github.com/buddypress/bp-documentation/discussions/308 note] to
 myself to investigate this further.
 ----
 > I think this helps in the short term for this specific ticket, but we
 should analyze other unsubscribe workflows to improve the user experience
 in a future release.
 >
 > Screenshot removes the link from the "You can change this or any other
 email notification preferences in your email settings" sentence. We should
 add it back to make things easier for the user to change their email
 notification settings if needed.

 The screenshot was just a talking point and I agree there should be a link
 to the "email notification settings", speaking of which there is a
 situation whereby the "Account Settings" component is not "activated"
 which makes the "You can change this or any other email notification
 preferences in your email settings" sentence nonsensical and should not be
 included in this case.

 Furthermore, there is another situation for "logged-out" users that
 appears to predate r14103 in which setting the "Community Visibility"
 option to "Members Only", the unsubscribe notice is not shown due a
 redirect to the "login" page. And to add more to the pile, for a  logged-
 in user there is the situation for Nouveau template pack with an active
 "Site Wide" notice, the unsubscribe notice is not shown due the the "Site
 Wide" notice.

 And while looking at long term solutions for the unsubscribe process, the
 plaintext emails do not contain an unsubscribe link (when it would be
 applicable) nor do they contain a salutation. When sent via
 {{{wp_mail()}}}, i.e., plaintext in most cases, there is no opportunity to
 "unsubscribe".

 Since this reply is much longer than I had intended, I'll posit one more
 situation whereby if a non-member unsubscribes to an invitation, they
 later decide to register, they won't receive any acknowledgements, e.g.,
 activation email, due to the "opt-out" entry/status; for this one I'm
 running on memory and will have reconfirm that this situation is true.

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


More information about the buddypress-trac mailing list