[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
Tue Feb 21 03:50:17 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: closed
Priority: normal | Milestone: 4.7.3
Component: Menus | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+---------------------
Changes (by dd32):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"40092"]:
{{{
#!CommitTicketReference repository="" revision="40092"
Menus: Prevent notice thrown in class-walker-page.php.
Calling `Walker_Page::walk()` directly was causing an `Undefined index:
item_spacing` notice to be thrown, this adds an `isset()` check to prevent
it.
Props bhargavbhandari90, peterwilsoncc.
Merges [39949] to the 4.7 branch.
Fixes #39564.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39564#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list