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

buddypress-trac noreply at wordpress.org
Mon Apr 22 19:37:29 UTC 2013


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

 * keywords:  has-patch => has-patch commit


Comment:

 I think this covers all instances.

 I was thinking of removing the hardcoded `bp_displayed_user_id()` check
 from `bp_has_members()`, but wasn't sure of any unintended consequences.

 Only adding `bp_displayed_user_id()` on a user's friends page makes the
 most sense b/c it's only used in this context in BP anyway.

 Great job!  I had some wild, elaborate alternatives, but I'm glad we don't
 have to go there!

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


More information about the buddypress-trac mailing list