Changeset 13694
- Timestamp:
- 03/13/2010 06:47:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/nav-menu-template.php
r13685 r13694 115 115 // Setup the $menu_item variables 116 116 $menu_item = wp_setup_nav_menu_item( $menu_item ); 117 117 118 118 $maybe_value = 'frontend' == $args->type ? '' : ' value="'. $menu_item->ID .'"'; 119 $classes = 'frontend' == $args->type ? ' class="menu-item-'. $menu_item->type . $menu_item->li_class .'"' : '';120 119 $classes = 'frontend' == $args->type ? ' class="menu-item-'. $menu_item->type . $menu_item->li_class .'"' : ''; 120 121 121 $nav_menu .= '<li id="menu-item-'. $menu_item->ID .'"'. $maybe_value . $classes .'>'; 122 122 $nav_menu .= wp_get_nav_menu_item( $menu_item, $args->type, $args ); … … 139 139 $nav_menu .= '</li>'; 140 140 } 141 141 142 142 endforeach; 143 143
Note: See TracChangeset
for help on using the changeset viewer.