diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 220f250e0b..f7ceb7cf2b 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -1038,7 +1038,7 @@ function wp_get_associated_nav_menu_items( $object_id = 0, $object_type = 'post_ * * @param int $object_id The ID of the original object being trashed. */ -function _wp_delete_post_menu_item( $object_id = 0 ) { +function _wp_delete_post_menu_item( $object_id ) { $object_id = (int) $object_id; $menu_item_ids = wp_get_associated_nav_menu_items( $object_id, 'post_type' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 51adf874db..5dccdf5322 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48794'; +$wp_version = '5.6-alpha-48795'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.