Spacing between attributes. Props momo360modena. see #11817

git-svn-id: http://svn.automattic.com/wordpress/trunk@13694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-03-13 18:47:44 +00:00
parent 2209054062
commit f3707c7791
1 changed files with 4 additions and 4 deletions

View File

@ -116,7 +116,7 @@ function wp_get_nav_menu( $args = array() ) {
$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 .= '<li id="menu-item-'. $menu_item->ID .'"'. $maybe_value . $classes .'>';
$nav_menu .= wp_get_nav_menu_item( $menu_item, $args->type, $args );