[wp-trac] [WordPress Trac] #53591: Firts <ul> missing in wp_list_categories()

WordPress Trac noreply at wordpress.org
Mon Jul 5 19:28:46 UTC 2021


#53591: Firts <ul> missing in wp_list_categories()
----------------------------+------------------------------
 Reporter:  sebastienserre  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Taxonomy        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  docs, template
----------------------------+------------------------------

Comment (by sebastienserre):

 Thank you all for your feedback.

 I understand it has been in this situation for a long time, however having
 a <li> without a <ul> is a syntax problem I think. But i agree, it needs
 some

 Why not adding a default parameter "ul" => false?
 That way, current widgets will still be OK and we'll be able to have a
 correct syntax with this parameter on true.

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


More information about the wp-trac mailing list