Walker: has_children is only set if $args is an array
|Reported by:||betzster||Owned by:||betzster|
|Severity:||normal||Keywords:||has-patch commit 3.7-early|
You can't depend on has_children because it doesn't get set if $args is an object. This is obviously an easy fix, just check if it's an object and set it in that case.
Change History (12)
comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 DrewAPicture — 8 months ago
- Keywords needs-refresh removed
comment:4 in reply to: ↑ 3 SergeyBiryukov — 8 months ago
- Keywords commit 3.7-early added
- Milestone changed from Awaiting Review to Future Release
- Version changed from 3.4.1 to 3.0
Note: See TracTickets for help on using tickets.