Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#59744 new defect (bug)

walk_page_tree issue - cast array to object to fix

Reported by: lazardanlucian's profile lazardanlucian Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Menus Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

( ! ) Warning: Attempt to read property "before" on array in ...\wp-includes\class-walker-nav-menu.php on line 273

$walker->walk expects an object but
walk_page_tree passes an array.

https://github.com/WordPress/WordPress/pull/679

Change History (1)

#1 @sabernhardt
7 months ago

  • Component changed from General to Menus
  • Description modified (diff)
Note: See TracTickets for help on using tickets.