[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items
WordPress Trac
noreply at wordpress.org
Tue Dec 29 01:06:11 UTC 2015
#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: needs-unit-tests needs-patch | Focuses: template
------------------------------------------+------------------------------
Comment (by peterwilsoncc):
Tests required:
* `wp_nav_menu` without options (white space not suppressed), menu defined
* `wp_nav_menu` with white space suppression, menu defined
* `wp_nav_menu` without options (white space not suppressed), no menu
defined, falls back to `wp_page_menu`
* `wp_nav_menu` with white space suppression, menu defined, no menu
defined, falls back to `wp_page_menu`
* `wp_page_menu` without options (white space suppressed)
* `wp_page_menu` without white space suppressed
Would it be best to search for the white space `\t` or `\n` or full
markup? @obenland do you have an opinion following #27762? :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35206#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list