[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:38:09 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 JoelStransky):

 Here is a fix for anyone experiencing this.
 https://gist.github.com/joelstransky/8f11b685569276a3a2ebef3d85ebc656

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


More information about the wp-trac mailing list