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

WordPress Trac noreply at wordpress.org
Fri Mar 1 15:51:18 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:  trunk
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch 3.6-menus  |
---------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"23550"]:
 {{{
 #!CommitTicketReference repository="" revision="23550"
 Ensure that get_nav_menu_locations() always returns an array. props
 JustinSainton for initial patch. fixes #23508.
 }}}

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


More information about the wp-trac mailing list