Ticket #23508: 23508.diff
| File 23508.diff, 447 bytes (added by , 13 years ago) |
|---|
-
wp-includes/nav-menu.php
127 127 */ 128 128 129 129 function get_nav_menu_locations() { 130 return get_theme_mod( 'nav_menu_locations' ); 130 $locations = get_theme_mod( 'nav_menu_locations' ); 131 return empty( $locations ) || ! is_array( $locations ) ? array() : $locations; 131 132 } 132 133 133 134 /**