Make WordPress Core

Opened 3 months ago

Last modified 6 days ago

#60010 new defect (bug)

"Navigation Block" Markup: <span> missing?

Reported by: ekesto's profile ekesto Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.4
Component: Menus Keywords:
Focuses: Cc:

Description

I'm wondering if there is a reason why the text of menu items without children is wrapped with a <span> as follows..

<span class="wp-block-navigation-item__label">Menu Item Text</span>

..but if an item has a child, then this span is "missing".

Wouldn't it be more consistent to wrap the text of menu items equally?

Change History (0)

Note: See TracTickets for help on using tickets.