[wp-trac] [WordPress Trac] #58044: Issue with wp_setup_nav_menu_item

WordPress Trac noreply at wordpress.org
Sat Apr 8 14:55:59 UTC 2023


#58044: Issue with wp_setup_nav_menu_item
--------------------------+------------------------------
 Reporter:  wpweaver      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  6.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+------------------------------

Comment (by wpweaver):

 Follow up:
 I just had a report from a user of my theme who encountered the same bug.
 Saw the error warnings from the same code.

 They redefined their menu, and the problem was gone. So it does seem that
 the problem is with a menu item that has become undefined, probably due to
 deleting a page.

 Just wanted to confirm that this is an unfixed problem, and is likely
 causing issues for any number of users.

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


More information about the wp-trac mailing list