[wp-trac] [WordPress Trac] #25064: Nav Menu: Bug while assigning a new menu to an existing menu location

WordPress Trac noreply at wordpress.org
Sat Aug 17 21:07:43 UTC 2013


#25064: Nav Menu: Bug while assigning a new menu to an existing menu location
--------------------------+-----------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.6.1
Component:  Menus         |    Version:  3.6
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25064>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list