[wp-trac] [WordPress Trac] #15854: get_users/WP_User_Query is not scalable

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 20 11:30:00 UTC 2010


#15854: get_users/WP_User_Query is not scalable
-----------------------------+-----------------------
 Reporter:  duck_            |       Owner:
     Type:  defect (bug)     |      Status:  reopened
 Priority:  highest omg bbq  |   Milestone:  3.1
Component:  General          |     Version:  3.1
 Severity:  blocker          |  Resolution:
 Keywords:  has-patch        |
-----------------------------+-----------------------

Comment (by scribu):

 > deprecating the function and restoring the old direct SQL is lame.

 To that I will reply that get_users_of_blog() is lame. :)

 > Is there no way to wrap get_users and still return the old data
 structure?

 Only if we loop through each result, serialize back the 'capabilities'
 property and add it as 'meta_value'.

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


More information about the wp-trac mailing list