[buddypress-trac] [BuddyPress Trac] #8233: groups_send_invites() skipping `force_resend` parameter

buddypress-trac noreply at wordpress.org
Mon Jan 27 20:33:37 UTC 2020


#8233: groups_send_invites() skipping `force_resend` parameter
--------------------------+--------------------
 Reporter:  boonebgorges  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.2.0
Component:  Groups        |    Version:  5.0.0
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 After 5.0, the internals of `groups_send_invites()` have an error in the
 way they set up the invitation query. See
 https://buddypress.trac.wordpress.org/browser/tags/5.1.2/src/bp-groups/bp-
 groups-functions.php?marks=1702-1707,1693-1700#L1671 -
 `$args['invite_sent']` is correctly inferred from `force_resend`, but
 immediately afterward, `$args` is reinitialized. The two blocks in
 question ought to be reversed.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8233>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list