[wp-trac] [WordPress Trac] #27762: Remove whitespace between menu items

WordPress Trac noreply at wordpress.org
Sun Aug 5 08:45:36 UTC 2018


#27762: Remove whitespace between menu items
------------------------------+-----------------------
 Reporter:  obenland          |       Owner:  obenland
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Menus             |     Version:  3.0
 Severity:  minor             |  Resolution:  fixed
 Keywords:  commit has-patch  |     Focuses:
------------------------------+-----------------------

Comment (by shahar):

 For reference, the correct way to do this is in `wp_nav_menu()` by setting
 `'item_spacing' => 'discard'`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/27762#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list