[buddypress-trac] [BuddyPress Trac] #6798: Prevent duplicate group membership request acceptance.
buddypress-trac
noreply at wordpress.org
Tue Dec 29 22:27:25 UTC 2015
#6798: Prevent duplicate group membership request acceptance.
--------------------------------+----------------------------------------
Reporter: dcavins | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - Groups | Version: 2.4.0
Severity: normal | Keywords: has-patch needs-unit-tests
--------------------------------+----------------------------------------
`groups_accept_membership_request()` should check to see if the member
already belongs to the group before processing the acceptance of the
request. Otherwise, repeat acceptances can create duplicate activity
items.
Patch attached, unit tests to follow.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6798>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list