#8233 closed defect (bug) (fixed)
groups_send_invites() skipping `force_resend` parameter
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2.0 |
| Component: | Groups | Version: | 5.0.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
See 8233.diff. @dcavins, could you please review?