Coding Standards: Use the correct variable.

Follow-up to [55593].

See #57318.


git-svn-id: https://develop.svn.wordpress.org/trunk@55596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2023-03-28 05:32:43 +00:00
parent 36e994b88c
commit a627e1bf21

View File

@ -1214,7 +1214,7 @@ function wp_nav_menu_update_menu_items( $nav_menu_selected_id, $nav_menu_selecte
$menu_item_db_id = wp_update_nav_menu_item(
$nav_menu_selected_id,
( (int) $_POST['menu-item-db-id'][ $_key ] !== $_key ? 0 : $_key ),
$arg
$args
);
if ( is_wp_error( $menu_item_db_id ) ) {