[buddypress-trac] [BuddyPress Trac] #7248: include = [ 0 ] should result in a "no results" query in `BP_User_Query`

buddypress-trac noreply at wordpress.org
Tue Sep 6 15:51:31 UTC 2016


#7248: include = [ 0 ] should result in a "no results" query in `BP_User_Query`
--------------------------+------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  2.7
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by boonebgorges):

 * priority:  normal => high


Comment:

 It turns out that this affects BP core in at least one place:
 `BP_Group_Member_Query::get_include_ids()` passes `array( 0 )` to
 'include' when the group has no non-admin members.

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


More information about the buddypress-trac mailing list