[wp-trac] [WordPress Trac] #23508: Nav Menu Saving: get_nav_menu_locations() can return false, code expects array

WordPress Trac noreply at wordpress.org
Tue Feb 19 02:03:50 UTC 2013


#23508: Nav Menu Saving: get_nav_menu_locations() can return false, code expects
array
--------------------------+-----------------------------
 Reporter:  Viper007Bond  |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.6
Component:  Menus         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Changes (by nacin):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I think get_nav_menu_locations() should always return an array, as the
 docs say. Let's try to also fix that?

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


More information about the wp-trac mailing list