[wp-trac] [WordPress Trac] #23609: get_users() causes a huge number of SQL queries causing 500 server errors

WordPress Trac noreply at wordpress.org
Mon Feb 25 23:44:45 UTC 2013


#23609: get_users() causes a huge number of SQL queries causing 500 server errors
--------------------------+------------------
 Reporter:  dpacmittal    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.6


Comment:

 So maybe [22248] was wrong, and all and all_with_meta should be one and
 the same. This came out of #22057.

 WP_Query already does multiple queries by default. Maybe all_without_meta
 (as in, an opt-out) is better here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23609#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list