[wp-trac] [WordPress Trac] #51948: Override fallback nav menu item label
WordPress Trac
noreply at wordpress.org
Sun Dec 6 15:57:28 UTC 2020
#51948: Override fallback nav menu item label
--------------------------------+-----------------------------
Reporter: invisibledragonltd | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
While looking into some advanced concepts for improving navigation menus,
I noticed if I create completely custom Nav Menu items, WordPress falls
back to using "Custom Link" no matter what.
I think this needs a filter adding in the fallback method,
https://github.com/WordPress/wordpress-
develop/blob/ac71fffac0045511a990ce02210300421d8b3b0e/src/wp-
includes/customize/class-wp-customize-nav-menu-item-setting.php#L322
whereby I can add in a more correct message to display for my custom Nav
Menu items.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51948>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list