[wp-trac] [WordPress Trac] #13690: has_nav_menu falsely returns true

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 2 04:35:07 UTC 2010


#13690: has_nav_menu falsely returns true
--------------------------+-------------------------------------------------
 Reporter:  kretzschmar   |       Owner:  nacin       
     Type:  defect (bug)  |      Status:  reviewing   
 Priority:  normal        |   Milestone:  3.0         
Component:  Menus         |     Version:  3.0         
 Severity:  normal        |    Keywords:  has_nav_menu
--------------------------+-------------------------------------------------
Changes (by nacin):

  * owner:  => nacin
  * status:  new => reviewing


Comment:

 I imagine this might be due to the fact that we're not clearing out the
 nav menu locations theme mod on delete. If you then save any menu IIRC the
 code should then reset the theme mod and all should be well with the
 world.

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


More information about the wp-trac mailing list