Opened 15 years ago
Closed 15 years ago
#9229 closed defect (bug) (fixed)
wp_list_authors causes duplicates and bad html syntax
Reported by: | hailin | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
patch