Opened 19 years ago
Closed 19 years ago
#2668 closed defect (bug) (fixed)
wp_list_cats is not closing the </li> and so doesn't validate as XHTML
Reported by: | MikeLittle | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
As reported by Ajay D'Souza on the testers mailing list. The newly restructured wp_list_cats() which calls (eventually) wp_list_categories() does not correctly close the list item (li) elements.
The fix is to add a fourth argument $args to the function end_el() in the class Walker_Category.
The function references $args to determine whether to add the closing tag.
Patch to follow.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fix for ticket 2668