[wp-trac] [WordPress Trac] #9229: wp_list_authors causes duplicates and bad html syntax

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 25 01:05:12 GMT 2009


#9229: wp_list_authors causes duplicates and bad html syntax
--------------------------+-------------------------------------------------
 Reporter:  hailin        |       Owner:  anonymous 
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 When there are many authors, and some authors have 0 posts,
 the output of wp_list_authors contains duplicates. and with default
 'hide_empty' => true, it outputs , , , for those authors.

 The root cause is that $link is not initialized in the loop, and
 another hole in the logic.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9229>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list