[buddypress-trac] [BuddyPress] #4060: Improve performance of BP_Core_User::get_users()

buddypress-trac noreply at wordpress.org
Sat Dec 15 17:08:58 UTC 2012

#4060: Improve performance of BP_Core_User::get_users()
 Reporter:  shanebp                          |       Owner:  boonebgorges
     Type:  enhancement                      |      Status:  assigned
 Priority:  highest                          |   Milestone:  1.7
Component:  Members                          |     Version:  1.2.9
 Severity:  critical                         |  Resolution:
 Keywords:  needs-testing reporter-feedback  |

Comment (by boonebgorges):

 DJPaul - Good find. This is avoided in `BP_Core_User::get_users()` by only
 doing the friend filter when nothing is passed to the `'include'`
 parameter: https://buddypress.trac.wordpress.org/browser/tags/1.6.2/bp-
 core/bp-core-classes.php#L266 I'm going to replicate the same check in

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4060#comment:51>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list