[wp-trac] [WordPress Trac] #3080: wp_list_pages() is not closing the </li> in some circumstances

WordPress Trac noreply at wordpress.org
Sun Feb 11 06:18:27 UTC 2024


#3080: wp_list_pages() is not closing the </li> in some circumstances
-----------------------------+---------------------
 Reporter:  JeremyVisser     |       Owner:  ryan
     Type:  defect (bug)     |      Status:  closed
 Priority:  highest omg bbq  |   Milestone:  2.1
Component:  Template         |     Version:  2.1
 Severity:  critical         |  Resolution:  fixed
 Keywords:  bughunt          |     Focuses:
-----------------------------+---------------------

Comment (by lisabnl12nh):

 Are you experiencing an issue with the `wp_list_pages()` function in
 WordPress, where it sometimes fails to close the `<li>` element when
 limiting the depth of pages to be listed, resulting in invalid markup?
 This issue seems to occur when using the `depth` argument to limit the
 number of levels displayed. Would you like assistance in troubleshooting
 this issue or guidance on how to report it for further investigation?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3080#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list