[buddypress-trac] [BuddyPress Trac] #6462: Group invites cannot be removed if not sent

buddypress-trac noreply at wordpress.org
Sun May 31 05:37:09 UTC 2015


#6462: Group invites cannot be removed if not sent
-------------------------------------------+------------------------------
 Reporter:  imath                          |       Owner:  johnjamesjacoby
     Type:  regression                     |      Status:  closed
 Priority:  highest                        |   Milestone:  2.3
Component:  API                            |     Version:
 Severity:  blocker                        |  Resolution:  fixed
 Keywords:  has-patch commit dev-feedback  |
-------------------------------------------+------------------------------
Changes (by johnjamesjacoby):

 * owner:   => johnjamesjacoby
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9901"]:
 {{{
 #!CommitTicketReference repository="" revision="9901"
 Groups: Updates to `delete_invite()` method:

 * Add brackets around `if` condition
 * Break query apart into separate lines for better readability
 * Add `inviter_id != 0` condition to query (note that this means not using
 `$wpdb->delete()`)

 Fixes a regression (from r9810) causing group membership invitations to be
 irreversible if the form was not submitted first.

 Fixes #6462. Props dcavins, imath.
 }}}

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


More information about the buddypress-trac mailing list