[wp-trac] [WordPress Trac] #40090: Walker::display_element does not populate $args[0]->has_children when it is cast as an Object

WordPress Trac noreply at wordpress.org
Fri Mar 10 00:16:45 UTC 2017


#40090: Walker::display_element does not populate $args[0]->has_children when it is
cast as an Object
--------------------------+------------------------------
 Reporter:  JoelStransky  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  4.7.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by figureone):

 Here is where `$args` is cast as an object:
 https://github.com/WordPress/WordPress/blob/master/wp-includes/nav-menu-
 template.php#L72

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40090#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list