From f3707c7791a0782dcfe9442040c3bc6c975a93b4 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 13 Mar 2010 18:47:44 +0000 Subject: [PATCH] Spacing between attributes. Props momo360modena. see #11817 git-svn-id: http://svn.automattic.com/wordpress/trunk@13694 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php index 4bc9148adb..221c034cbb 100644 --- a/wp-includes/nav-menu-template.php +++ b/wp-includes/nav-menu-template.php @@ -114,10 +114,10 @@ function wp_get_nav_menu( $args = array() ) { foreach ( $menu_items as $key => $menu_item ) : // Setup the $menu_item variables $menu_item = wp_setup_nav_menu_item( $menu_item ); - + $maybe_value = 'frontend' == $args->type ? '' : ' value="'. $menu_item->ID .'"'; - $classes = 'frontend' == $args->type ? 'class="menu-item-'. $menu_item->type . $menu_item->li_class .'"' : ''; - + $classes = 'frontend' == $args->type ? ' class="menu-item-'. $menu_item->type . $menu_item->li_class .'"' : ''; + $nav_menu .= ''; } - + endforeach; $nav_menu .= '';