[wp-trac] [WordPress Trac] #10329: sort_by and count_limit options for wp_list_authors

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 11 16:06:57 UTC 2010


#10329: sort_by and count_limit options for wp_list_authors
-----------------------------+----------------------------------------------
 Reporter:  takaitra         |       Owner:  westi          
     Type:  feature request  |      Status:  reviewing      
 Priority:  normal           |   Milestone:  Awaiting Triage
Component:  Template         |     Version:                 
 Severity:  normal           |    Keywords:  has-patch      
-----------------------------+----------------------------------------------

Comment(by takaitra):

 Replying to [comment:30 t31os_]:
 What specific actions would you like me to take t31os? I added the
 get_userdata call in response to feedback from Denis-de-Bernardy in order
 to make use of the caching added to that function. From his earlier
 comment:

 >the author name logic would actually be better handled by mass-querying
 the usermeta table using the functions from miqrogroove in a separate
 ticket.

 Are you suggesting I again remove the calls to get_userdata? I am using
 this patch in the latest version of [http://wordpress.org/extend/plugins
 /list-authors/ my plugin], it is working well, and users are happy with
 the new features. Most importantly, it allows a limit on the number of
 authors listed instead of displaying all 10,000 in the case of large blog.
 For that reason, I think this prolonged discussion of which query is
 fastest is mostly moot. The existing version of wp_list_authors is known
 for using up an enormous amount of memory when displaying large numbers of
 authors. This patch finally allows a user to limit the number of authors
 displayed thereby increasing blog performance.

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


More information about the wp-trac mailing list