[buddypress-trac] [BuddyPress] #4938: Logic for friend queries in BP_User_Query

buddypress-trac noreply at wordpress.org
Mon Apr 22 23:31:18 UTC 2013


#4938: Logic for friend queries in BP_User_Query
------------------------------+---------------------------
 Reporter:  dontdream         |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  1.8
Component:  Core              |     Version:  1.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"6941"]:
 {{{
 #!CommitTicketReference repository="" revision="6941"
 In bp_has_members(), only auto-set user_id if looking at a user friends
 page

 Previously, the 'user_id' param was being pre-filled anytime you were
 looking
 at a user page. As a result, it was impossible to do certain kinds of
 query
 logic while looking at friends pages.

 Adds unit tests for the change.

 Fixes #4938
 }}}

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


More information about the buddypress-trac mailing list