[wp-trac] [WordPress Trac] #23508: Nav Menu Saving: get_nav_menu_locations() can return false, code expects array
WordPress Trac
noreply at wordpress.org
Thu Feb 28 23:31:41 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: trunk
Severity: normal | Resolution:
Keywords: has-patch 3.6-menus |
---------------------------------+-----------------------------
Comment (by SergeyBiryukov):
Not sure if we need the `! empty()` check, `is_array()` seems enough
([attachment:23508.2.diff]).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23508#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list