Changeset 13732
- Timestamp:
- 03/17/2010 04:19:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r13730 r13732 87 87 unset($add_nav_menu); 88 88 } 89 } 90 91 // Update menu name 92 if ( isset($_POST['menu-name']) ) { 89 } elseif ( isset($_POST['menu-name']) ) { 93 90 $old_nav_menu = get_term( $nav_menu_selected_id, 'nav_menu', ARRAY_A ); 94 91 $args = array( 'name' => $_POST['menu-name'], 'slug' => null, 'description' => $old_nav_menu['description'], 'parent' => $old_nav_menu['parent'], );
Note: See TracChangeset
for help on using the changeset viewer.