[buddypress-trac] [BuddyPress Trac] #7859: Allow querying for all group invitations sent by a user

buddypress-trac noreply at wordpress.org
Wed May 23 03:48:52 UTC 2018

#7859: Allow querying for all group invitations sent by a user
 Reporter:  boonebgorges           |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  4.0
Component:  Groups                 |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
Changes (by boonebgorges):

 * keywords:   => has-patch 2nd-opinion


 [attachment:7859.diff] is a very straightforward but very single-purpose
 method. (For the real deal I might need to add pagination arguments in
 order to support batch-processing.)

 Obviously, it's not beautiful or desirable to introduce this sort of
 thing. But I don't see a way of getting the data through one of our
 existing tools (`groups_get_groups()`, `BP_Group_Member_Query`) without
 extensive and dangerous refactoring, and it feels wasteful to build more
 robust tools to query this data when such queries are not needed elsewhere
 in BP at the moment.

 @dcavins Your thoughts about this would be valuable. (If you have the
 spirit, after the tumbleweeds in #6210.)

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7859#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list