[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items
WordPress Trac
noreply at wordpress.org
Tue Jan 5 00:47:25 UTC 2016
#35206: Allow theme authors to control white space between menu items
--------------------------------------+------------------------------
Reporter: peterwilsoncc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch | Focuses: template
--------------------------------------+------------------------------
Changes (by peterwilsoncc):
* keywords: needs-patch has-unit-tests => has-unit-tests has-patch
Comment:
In [attachment:35206.2.diff]:
* consistent whitespace for `wp_nav_menu` falling back to `wp_page_menu`
* new boolean option for both functions `whitespace`
* unit tests
* bit of a tidy up of the whitespace
I'm not entirely happy with `whitespace` as the option name for
suppressing/including it. Would love suggestions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35206#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list