[buddypress-trac] [BuddyPress Trac] #8448: Add new table to store nonmember opt-outs.

buddypress-trac noreply at wordpress.org
Wed Apr 28 23:49:25 UTC 2021

#8448: Add new table to store nonmember opt-outs.
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  8.0.0
Component:  Core              |     Version:  7.2.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |

Comment (by dcavins):

 In [changeset:"12912" 12912]:
 #!CommitTicketReference repository="" revision="12912"
 BP_Optouts: Improve unsubscribe behavior.

 Improve unsubscribe link behavior when user is not
 a site member, meaning that the unsubscribe is an
 opt-out request.
 • Introduce `bp_user_has_opted_out()` as convenience
 function for checking an email address's status
 • Build `bp_email_get_unsubscribe_link()` for
 non-member case.
 • `bp_email_unsubscribe_handler()` handles
 non-member case and uses `wp_die()` screen
 to display message.
 • Fix unsusbscribe headers for opt-out links.

 Props imath.

 See #8448.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8448#comment:27>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list