Menus: Bring back line break between menu items.

While removing line breaks was great for all use cases except justified menu
items, it broke menus with justified menu items.
Reverts [34321].

Props wp-architect.
Fixes #35107.



git-svn-id: https://develop.svn.wordpress.org/trunk@36081 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland 2015-12-24 00:20:24 +00:00
parent 1d68393907
commit 498fbb407c
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class Walker_Nav_Menu extends Walker {
* @param array $args An array of arguments. @see wp_nav_menu()
*/
public function end_el( &$output, $item, $depth = 0, $args = array() ) {
$output .= '</li>';
$output .= "</li>\n";
}
} // Walker_Nav_Menu