Menus: Remove an extra space in the <ul>
tag in Walker_Nav_Menu::start_lvl()
.
Fixes #42289. git-svn-id: https://develop.svn.wordpress.org/trunk@41955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8f08e79987
commit
771b56d944
@ -72,7 +72,7 @@ class Walker_Nav_Menu extends Walker {
|
|||||||
$class_names = join( ' ', apply_filters( 'nav_menu_submenu_css_class', $classes, $args, $depth ) );
|
$class_names = join( ' ', apply_filters( 'nav_menu_submenu_css_class', $classes, $args, $depth ) );
|
||||||
$class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
|
$class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
|
||||||
|
|
||||||
$output .= "{$n}{$indent}<ul $class_names>{$n}";
|
$output .= "{$n}{$indent}<ul$class_names>{$n}";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user