[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 01:31:43 UTC 2013


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

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23453"]:
 {{{
 #!CommitTicketReference repository="" revision="23453"
 Fix a warning on Menus screen if $menu_locations is false.
 Fix menu selection after creating a first menu on new install.

 props jkudish.
 fixes #23508. see #23119.
 }}}

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


More information about the wp-trac mailing list