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

buddypress-trac noreply at wordpress.org
Mon Oct 29 17:37:10 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:  needs-testing has-patch  |
-------------------------------------+--------------------

Comment (by boonebgorges):

 DJPaul - This looks good to me.

 I know you were probably just porting over from the old version, but we
 might consider doing the `DATE_ADD` operation on the `UTC_TIMESTAMP()`
 instead of the `meta_value`, since that way we only have to do it once
 instead of on every returned row. Or maybe this is better handled in a
 different ticket. Anyway, you should go ahead and commit your change.

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


More information about the buddypress-trac mailing list