[wp-trac] [WordPress Trac] #14768: Incorrect wp_nav_menu behavior when theme_location is set but no menus exist/assigned

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 6 18:09:51 UTC 2010


#14768: Incorrect wp_nav_menu behavior when theme_location is set but no menus
exist/assigned
--------------------------+-------------------------------------------------
 Reporter:  almostdaniel  |       Owner:  jnthnlstr                  
     Type:  defect (bug)  |      Status:  reviewing                  
 Priority:  normal        |   Milestone:  Awaiting Review            
Component:  Menus         |     Version:  3.0.1                      
 Severity:  normal        |    Keywords:  wp_nav_menu, theme_location
--------------------------+-------------------------------------------------

Comment(by jnthnlstr):

 I agree.

 I think this function should just exit if it finds that the theme_location
 parameter is pointing to a value that doesn't exist.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14768#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list