diff --git a/wp-includes/media.php b/wp-includes/media.php index db5565e385..08cd675971 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1709,9 +1709,9 @@ function wp_image_add_srcset_and_sizes( $image, $image_meta, $attachment_id ) { } // Bail early if an image has been inserted and later edited. - if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash ) && - ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] ) ) { - + if ( preg_match( '/-e[0-9]{13}/', $image_meta['file'], $img_edit_hash ) + && ! str_contains( wp_basename( $image_src ), $img_edit_hash[0] ) + ) { return $image; } diff --git a/wp-includes/version.php b/wp-includes/version.php index e704e3494e..07bd53a6c3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56282'; +$wp_version = '6.4-alpha-56283'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.