Make WordPress Core

Opened 6 years ago

#51948 new defect (bug)

Override fallback nav menu item label

Reported by: invisibledragonltd Owned by:
Priority: normal Milestone: Awaiting Review
Component: Menus Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.