[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 22:36:40 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        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> 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?

New description:

 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

 https://cl.ly/d0987448cae1

 https://cl.ly/6c283d9a27c0

 https://cl.ly/157163f40bb5

 How to fix this?

--

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


More information about the wp-trac mailing list