Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57160


Ignore:
Timestamp:
11/21/2022 01:22:22 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #57122 and #56926.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57160

    • Property Status changed from new to closed
    • Property Component changed from General to Menus
    • Property Resolution changed from to duplicate
    • Property Milestone changed from Awaiting Review to
  • Ticket #57160 – Description

    initial v1  
    11Hello,
    22In my web show the statement** Notice: Undefined offset: 6994 in /home3/xiddjsgr/public_html/dekra/wp-includes/nav-menu-template.php on line 211**, and the code on line 211 is:
    3 
    4 ''// Calculate the depth of each menu item with children.
     3{{{
     4// Calculate the depth of each menu item with children.
    55        foreach ( $menu_items_with_children as $menu_item_key => &$menu_item_depth ) {
    66                $menu_item_parent = $menu_items_tree[ $menu_item_key ];
     
    2323        }
    2424
    25         unset( $menu_items_tree, $menu_items_with_children, $menu_items, $menu_item );''
     25        unset( $menu_items_tree, $menu_items_with_children, $menu_items, $menu_item );
     26}}}
    2627
    2728**Version wordpress 6.1.1**