Changeset 15049 for trunk/wp-admin/includes/nav-menu.php
- Timestamp:
- 05/28/2010 11:04:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/nav-menu.php
r15047 r15049 1007 1007 1008 1008 if( empty($menu_items) ) 1009 return $result ;1009 return $result . ' <ul class="menu" id="menu-to-edit"> </ul>'; 1010 1010 1011 1011 $walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $menu_id ); … … 1025 1025 $result .= '<div class="updated inline"><p>' . __('Click Save Menu to make pending menu items public.') . '</p></div>'; 1026 1026 1027 $result .= '<ul class="menu" id="menu-to-edit"> '; 1027 1028 $result .= walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $menu_items), 0, (object) array('walker' => $walker ) ); 1029 $result .= ' </ul> '; 1028 1030 return $result; 1029 1031 } elseif ( is_wp_error( $menu ) ) {
Note: See TracChangeset
for help on using the changeset viewer.