[buddypress-trac] [BuddyPress Trac] #7726: Pending invite cannot be removed from a group when friendship is cancelled

buddypress-trac noreply at wordpress.org
Fri Apr 13 14:01:09 UTC 2018


#7726: Pending invite cannot be removed from a group when friendship is cancelled
------------------------------+----------------------
 Reporter:  jomisica          |       Owner:  dcavins
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.0
Component:  Groups            |     Version:  1.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------
Changes (by dcavins):

 * owner:  (none) => dcavins
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11969" 11969]:
 {{{
 #!CommitTicketReference repository="" revision="11969"
 Allow pending invite to be cancelled without friendship requirement.

 BP Legacy's function `bp_legacy_theme_ajax_invite_user()` was built to
 stop early if the invitee was not a friend of the inviter. In the case
 where you extend an invitation to a user, then cancel your friendship, you
 were prevented from running the `uninvite` task. This patch removes the
 friendship check from the uninvite task.

 Props r-a-y.

 Fixes #7726.
 }}}

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


More information about the buddypress-trac mailing list