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

buddypress-trac noreply at wordpress.org
Tue Apr 20 16:02:49 UTC 2021

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

Comment (by dcavins):

 In [changeset:"12898" 12898]:
 #!CommitTicketReference repository="" revision="12898"
 Introduce BP_Optouts.

 Add capability to store opt-out requests from
 nonmembers who have been contacted by
 communication from a BuddyPress site. These
 new objects are represented by the class `BP_Optout`
 and are stored in a new database table
 `wp_bp_optouts`. This commit adds the following capabilities:
 • Add new class `BP_Optout`.
 • Add new table `wp_bp_optouts`.
 • Create new table on installation or upgrade.
 • Add convenience functions for adding, fetching or
 deleting opt-outs.
 • Add tests for basic opt-out management.

 See #8448.

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

More information about the buddypress-trac mailing list