Opened 15 years ago
Closed 15 years ago
#909 closed defect (bug) (fixed)
groups_invite_user - not sending invite?
Reported by: | johnjamesjacoby | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | has-patch | |
Cc: |
Description
I might be misunderstanding the way this works, or over thinking this, or the trunk might be broken, but when I attempt to invite users to a group, the invite_sent does not get set to 1 when adding them to the list of people I'm inviting, however they are added to the wp_bp_groups_members table.
Is this just so that when the page loads or ajax is disabled, that BP has a way to see that I intend to invite them but still have not submitted the form?
Currently, clicking "Send" to submit the people I want to invite dumps out a WordPress error on "send-invites/send" on my install, asking if I "Really want to do that?" and my guess is that clicking "Send" is where the notifications are actually processed?
If, in-fact, I've uncovered a bug, this is the proposed fix to it. Otherwise, disregard.
groups_invite_user possible fix?