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

buddypress-trac noreply at wordpress.org
Sun Oct 28 20:58:33 UTC 2012

#4060: Improve performance of BP_Core_User::get_users()
 Reporter:  shanebp                              |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  highest                              |   Milestone:  1.7
Component:  Members                              |     Version:  1.2.9
 Severity:  critical                             |  Resolution:
 Keywords:  2nd-opinion has-patch needs-testing  |
  dev-feedback                                   |

Comment (by DJPaul):

 Member search is broken with the new BP_User_Query. 4060-fix-
 search.001.patch fixes part of the problem (invalid function argument).

 The remaining problem is tougher as if it can't find any users matching
 the search details, it carries on with the user query as though no search
 term was passed. What should happen is that if there are no users matching
 the search, we should bail out and return zero matches. This is consistent
 with pre-BP_User_Query behaviour.

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

More information about the buddypress-trac mailing list