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. Built from https://develop.svn.wordpress.org/trunk@36081 git-svn-id: http://core.svn.wordpress.org/trunk@36046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c72912432
commit
6c54bf4dcb
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36080';
|
||||
$wp_version = '4.5-alpha-36081';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue