[buddypress-trac] [BuddyPress Trac] #5435: Improvements to object caching in bp-friends

buddypress-trac noreply at wordpress.org
Thu Feb 27 20:20:26 UTC 2014

#5435: Improvements to object caching in bp-friends
 Reporter:  r-a-y        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.0
Component:  Friends      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |

Comment (by r-a-y):

 In [changeset:"7999"]:
 #!CommitTicketReference repository="" revision="7999"
 Don't query friendship status in BP_User_Query for logged-out users.

 The bp_friends_filter_user_query_populate_extras() function is used to
 add the confirmed friendship status against the logged-in user to the
 existing user query.

 However, we don't need to run this query if a user isn't logged in.

 See #5435.

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

More information about the buddypress-trac mailing list