[wp-trac] [WordPress Trac] #60010: "Navigation Block" Markup: <span> missing?
WordPress Trac
noreply at wordpress.org
Mon Dec 4 20:43:39 UTC 2023
#60010: "Navigation Block" Markup: <span> missing?
--------------------------+-----------------------------
Reporter: ekesto | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 6.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60010>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list