[wp-trac] [WordPress Trac] #50261: Walker_Nav_Menu doc block is wrong

WordPress Trac noreply at wordpress.org
Wed May 27 09:35:32 UTC 2020


#50261: Walker_Nav_Menu doc block is wrong
--------------------------+------------------------------
 Reporter:  dingo_d       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Thanks for the ticket, just noting it's not as simple as a documentation
 change.

 The mismatch of the `$args` parameter between
 `Walker_Nav_Menu::start_lvl()` and  `Walker::start_lvl()` is currently a
 known long-standing issue that cannot be easily fixed due to backward
 compatibility problems.

 See #24587, [38559], [45537], [47189] for more details.

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


More information about the wp-trac mailing list