[wp-trac] [WordPress Trac] #39564: Notice: Undefined index: item_spacing in /var/www/html/wordpress/wp-includes/class-walker-page.php on line 106
WordPress Trac
noreply at wordpress.org
Mon Feb 20 06:06:26 UTC 2017
#39564: Notice: Undefined index: item_spacing in /var/www/html/wordpress/wp-
includes/class-walker-page.php on line 106
------------------------------------------+-----------------------
Reporter: jrswgtr | Owner: dd32
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.3
Component: Menus | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+-----------------------
Comment (by dd32):
@peterwilsoncc in [39949] I note that the logic has now changed from the
4.6 behaviour in the event that the `item_spacing` arg is not provided -
it'll default to `discard` in that case now.
Should this have been `if ( ! isset(...) || 'preserve' ...`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39564#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list