Ticket #23119: 23119.3.diff
| File 23119.3.diff, 552 bytes (added by jkudish, 4 months ago) |
|---|
-
wp-admin/nav-menus.php
264 264 // Get existing menu locations assignments 265 265 $locations = get_registered_nav_menus(); 266 266 $menu_locations = get_nav_menu_locations(); 267 if ( empty( $menu_locations ) || ! is_array( $menu_locations ) ) 268 $menu_locations = array(); 267 269 268 270 // Remove menu locations that have been unchecked 269 271 foreach ( $locations as $location => $description ) {