[buddypress-trac] [BuddyPress Trac] #7573: BP_Group_Member_Query should support multiple group IDs
buddypress-trac
noreply at wordpress.org
Wed Jul 26 01:14:56 UTC 2017
#7573: BP_Group_Member_Query should support multiple group IDs
-------------------------+------------------------------
Reporter: r-a-y | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version: 1.8
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by r-a-y):
Well, if you're passing an empty array, then you're SOL :)
I suppose we could do something like this:
{{{
$group_ids = wp_parse_id_list( $this->query_vars['group_id'] );
$group_ids = ! empty( $group_ids ) ? $group_ids : array( 0 );
}}}
Feels a little unnecessary, but meh!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7573#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list