diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index df63128a16..82187fd62e 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -773,7 +773,7 @@ function media_upload_form_handler() { $post['menu_order'] = $attachment['menu_order']; } - if ( isset( $send_id ) && $attachment_id == $send_id ) { + if ( isset( $send_id ) && $attachment_id === $send_id ) { if ( isset( $attachment['post_parent'] ) ) { $post['post_parent'] = $attachment['post_parent']; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 917192e5e2..945f13a249 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59496'; +$wp_version = '6.8-alpha-59497'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.