[wp-trac] [WordPress Trac] #24587: Walker_Page and Walker_Nav_Menu not compatible

WordPress Trac noreply at wordpress.org
Fri Mar 20 21:15:00 UTC 2015


#24587: Walker_Page and Walker_Nav_Menu not compatible
--------------------------+------------------------------
 Reporter:  geardev       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by aaronholbrook):

 * version:   => trunk


Comment:

 +1.

 Just ran into this issue and was thoroughly confused as to why object
 property notation is being used on what's supposed to be an array.

 Either there should be a transformation to an object of the `$args` array,
 or it should access via array indexes instead of object properties.

 Very clear and well written bug report @geardev, thanks for submitting.

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


More information about the wp-trac mailing list