Nav Menu: Bug while assigning a new menu to an existing menu location
|Reported by:||ocean90||Owned by:||nacin|
|Component:||Menus||Keywords:||has-patch commit fixed-major|
Steps to reproduce:
- Theme with menu support
- get_theme_mod( 'nav_menu_locations' ) needs to be empty or shouldn't include the menu location for the next steps
- Go to Manage Locations and select Use new menu
- Create the new menu and save it
Expected: The menu is assigned to the location.
Current: It's not assigned.
get_theme_mod( 'nav_menu_locations' ) doesn't return all registered menu locations means the isset() check fails.
Change History (8)
Note: See TracTickets for help on using tickets.