[buddypress-trac] [BuddyPress] #5071: BP User Query and management of the include argument

buddypress-trac noreply at wordpress.org
Tue Jun 25 01:18:25 UTC 2013


#5071: BP User Query and management of the include argument
-------------------------------------+---------------------------
 Reporter:  imath                    |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  closed
 Priority:  high                     |   Milestone:  1.8
Component:  Friends                  |     Version:  1.8-beta
 Severity:  critical                 |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7239"]:
 {{{
 #!CommitTicketReference repository="" revision="7239"
 Use strict type checking when setting default 'include' value in
 BP_User_Query

 Using the empty() check resulted in problems when empty arrays were passed
 into
 BP_User_Query as the 'include' parameter, such as when querying for a
 user's
 friend requests when the user did not have any - in these cases, all users
 ended up being returned.

 Fixes #5071

 Props imath
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5071#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list