Ticket #11817: menu.diff
File menu.diff, 778 bytes (added by , 15 years ago) |
---|
-
wp-includes/nav-menu-template.php
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 .'"' : '';119 $classes = 'frontend' == $args->type ? ' class="menu-item-'. $menu_item->type . $menu_item->li_class .'"' : ''; 120 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 );