[wp-trac] [WordPress Trac] #21534: Walker: has_children is only set if $args[0] is an array
WordPress Trac
noreply at wordpress.org
Mon Apr 22 19:34:09 UTC 2013
#21534: Walker: has_children is only set if $args[0] is an array
--------------------------+------------------------------
Reporter: betzster | Owner: betzster
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.4.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by DrewAPicture):
* keywords: has-patch needs-refresh => has-patch
Comment:
Replying to [comment:2 SergeyBiryukov]:
> As far as I can see, `$args` is always an array in core. A piece of code
to reproduce the issue might be helpful.
`$args` itself is an array, but seems like the first index might not
always be.
[attachment:21534.diff] covers the refresh of sorts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21534#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list