[wp-trac] [WordPress Trac] #53449: Child Walker classes change the $args parameter data type and default value signatures for start_el and end_el

WordPress Trac noreply at wordpress.org
Fri Jun 18 16:33:28 UTC 2021


#53449: Child Walker classes change the $args parameter data type and default value
signatures for start_el and end_el
----------------------------+------------------------------
 Reporter:  hellofromTonya  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Menus           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php8            |     Focuses:
----------------------------+------------------------------

Comment (by SergeyBiryukov):

 Some history here: [13802], [14031], [14248], [19679], [25643], [38559],
 [45537], [47189].

 There appears to be a long-time confusion about the data type of `$args`
 in these classes, due to an inconsistency with other walkers which always
 use it as an array.

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


More information about the wp-trac mailing list