[wp-trac] [WordPress Trac] #45301: Menu ID is missing from li element when two menu containers have the same menu set

WordPress Trac noreply at wordpress.org
Tue Nov 6 17:26:22 UTC 2018


#45301: Menu ID is missing from li element when two menu containers have the same
menu set
--------------------------+-----------------------------
 Reporter:  BackuPs       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.0
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 Hi

 I think there is a bug.  When you have menu and set that same menu to two
 menu containers the second one does not have the menu id for the li
 element. It is missing

 Tested with wordpress default theme 20-17 and set the same menu to the
 main menu and the social menu container.  When done so the social menu
 container has no ID field on each li element.  It is completely missing

 See images attached

 [[Image(https://cl.ly/d0987448cae1)]]

 [[Image(https://cl.ly/6c283d9a27c0)]]

 [[Image(https://cl.ly/157163f40bb5)]]

 How to fix this?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45301>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list