[wp-trac] [WordPress Trac] #18720: When switching themes assign a default nav menu to theme location

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 20 09:30:22 UTC 2011


#18720: When switching themes assign a default nav menu to theme location
-------------------------+-----------------------------
 Reporter:  dgwyer       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Menus        |    Version:  3.2.1
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 It is pretty common these days for themes to use custom nav menus. If a
 lot of pages have been published that haven't been organized into parent
 /sub-pages then the wp_nav_menu fallback rendering can look pretty hideous
 when switching themes.

 This is because the fallback menu function ALWAYS seems to be invoked
 (whether any theme locations/nav menus exist or not).

 It would be better when switching themes to assign default nav menus to
 theme locations. If no theme locations and/or nav menus exist then use the
 fallback menu function as currently implemented.

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


More information about the wp-trac mailing list