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 (6)
- Keywords needs-refresh removed