[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items

WordPress Trac noreply at wordpress.org
Tue Sep 6 10:53:30 UTC 2016


#35206: Allow theme authors to control white space between menu items
---------------------------+----------------------------
 Reporter:  peterwilsoncc  |       Owner:  peterwilsoncc
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  4.7
Component:  Menus          |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-docs     |     Focuses:  template
---------------------------+----------------------------
Changes (by johnbillion):

 * keywords:  has-unit-tests has-patch => needs-docs
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 `wp_nav_menu()`, `wp_list_pages()`, and `wp_page_menu()` need a `@since`
 doc for the new `item_spacing` argument in the `$args` array. Also I think
 the argument description can be improved. How about:

 `Whether to preserve whitespace within the menu's HTML. Accepts 'preserve'
 or 'discard'. Default 'preserve'.`

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


More information about the wp-trac mailing list