[wp-trac] [WordPress Trac] #32672: Unable to assign Menu location when creating the first menu
WordPress Trac
noreply at wordpress.org
Sat Jul 4 05:35:19 UTC 2015
#32672: Unable to assign Menu location when creating the first menu
-------------------------------------+--------------------------
Reporter: dinamiko | Owner: westonruter
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------------
Comment (by valendesigns):
Replying to [comment:10 westonruter]:
> Just took a quick look at the patch. Why the change to check for the
`name` property being undefined as opposed to the setting being false?
Note that false means the setting is marked for deletion.
Because there were situations when `setting().name` was undefined and
`setting()` was not returning `false`. So only checking for `false` didn't
stop the console error messages.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32672#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list