[buddypress-trac] [BuddyPress Trac] #6031: Allow `bp_groups_user_can_send_invites()` to accept a user ID

buddypress-trac noreply at wordpress.org
Wed Nov 19 16:45:47 UTC 2014

#6031: Allow `bp_groups_user_can_send_invites()` to accept a user ID
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Groups       |    Version:
 Severity:  normal       |   Keywords:  has-patch
 As it functions now, `bp_groups_user_can_send_invites()` only tests
 against the logged-in user. It would be useful in some instances (like
 when an admin is admin-ing a group) to be able to pass it a user_id to
 check specifically.

 I made this change in #6025 as a necessary change for error-checking in
 `groups_send_invites()`, but realize that this may be easier to deal with
 in a smaller chunk.

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

More information about the buddypress-trac mailing list