mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
36e994b88c
commit
a627e1bf21
@ -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 ) ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user