Make WordPress Core

Changeset 36081


Ignore:
Timestamp:
12/24/2015 12:20:24 AM (11 years ago)
Author:
obenland
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu-template.php

    r35382 r36081  
    212212         */
    213213        public function end_el( &$output, $item, $depth = 0, $args = array() ) {
    214                 $output .= '</li>';
     214                $output .= "</li>\n";
    215215        }
    216216
Note: See TracChangeset for help on using the changeset viewer.