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

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 9 18:50:26 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:  3.1      
Component:  Template         |     Version:           
 Severity:  normal           |    Keywords:  has-patch
-----------------------------+----------------------------------------------
Changes (by takaitra):

  * keywords:  needs-patch => has-patch


Comment:

 I completed the new patch. Can you take a look Denis? I already tested
 with a variety of inputs.

 I confirmed that the removal of the NULL checks causes authors with zero
 posts to be incorrectly excluded.

 A small side-effect of the conditional removal of the post count join is
 that the function can no longer know whether or not to include a link to
 the author posts (see line 401). I defaulted to including all links in
 this case.

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


More information about the wp-trac mailing list