[buddypress-trac] [BuddyPress Trac] #6941: Make sure inviter_id !== 0 before inviting a user to a group

buddypress-trac noreply at wordpress.org
Tue Apr 5 14:46:59 UTC 2016


#6941: Make sure inviter_id !== 0 before inviting a user to a group
----------------------------------------+----------------------
 Reporter:  danbrellis                  |       Owner:  dcavins
     Type:  defect (bug)                |      Status:  closed
 Priority:  high                        |   Milestone:  2.6
Component:  Component - Groups          |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+----------------------
Changes (by dcavins):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10687"]:
 {{{
 #!CommitTicketReference repository="" revision="10687"
 Make sure invites include an inviter_id.

 * When creating an invite, make sure that the
 inviter_id is not 0.
 * Add tests for empty values for `user_id`,
 `group_id` and `inviter_id` in
 `groups_send_invites()`.

 Props danbrellis.

 Fixes #6941.
 }}}

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


More information about the buddypress-trac mailing list