Changeset 23941 for trunk/wp-includes/nav-menu.php
- Timestamp:
- 04/09/2013 08:50:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/nav-menu.php
r23897 r23941 193 193 $locations = get_theme_mod( 'nav_menu_locations' ); 194 194 foreach ( (array) $locations as $location => $menu_id ) { 195 if ( $menu_id == $ nav_menu_id )195 if ( $menu_id == $menu->term_id ) 196 196 $locations[ $location ] = 0; 197 197 }
Note: See TracChangeset
for help on using the changeset viewer.