[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:41:49 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):

 Related: #18232, #24587, #37136, #37791, #50261.

 As noted in comment:1:ticket:50261, the mismatch of the `$args` parameter
 between `Walker_Nav_Menu` and `Walker` is currently a known long-standing
 issue that cannot be easily fixed due to backward compatibility problems.

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


More information about the wp-trac mailing list