diff --git a/wp-includes/class-wp-image-editor-imagick.php b/wp-includes/class-wp-image-editor-imagick.php index ee12b401d9..40e3cbb823 100644 --- a/wp-includes/class-wp-image-editor-imagick.php +++ b/wp-includes/class-wp-image-editor-imagick.php @@ -503,7 +503,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor { $size_data['crop'] = false; } - if ( ( $this->size['width'] == $size_data['width'] ) && ( $this->size['height'] == $size_data['height'] ) ) { + if ( ( $this->size['width'] === $size_data['width'] ) && ( $this->size['height'] === $size_data['height'] ) ) { return new WP_Error( 'image_subsize_create_error', __( 'The image already has the requested size.' ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index e1aca018ca..d80aa669d7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta1-55299'; +$wp_version = '6.2-beta1-55300'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.