[wp-trac] [WordPress Trac] #41971: The structure of a menu is wrong, additional DIV's garbage menu

WordPress Trac noreply at wordpress.org
Mon Sep 25 13:55:45 UTC 2017


#41971: The structure of a menu is wrong, additional DIV's garbage menu
-------------------------------+------------------------------
 Reporter:  dejudicibus        |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Menus              |     Version:  4.8.2
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by dejudicibus):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 I found the problem. It was related to a filter in the theme. It was
 because of a change to


 {{{
 <ul class="sub-menu">
 }}}


 that did not occurred anymore because in new version the tag is


 {{{
 <ul  class="sub-menu">
 }}}

 (two spaces after ul)

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


More information about the wp-trac mailing list