Coding Standards: Use strict comparison in `wp-includes/class-wp-image-editor.php`.

Follow-up to [22094].

Props aristath, poena, afercia, SergeyBiryukov.
See #58831.
Built from https://develop.svn.wordpress.org/trunk@56361


git-svn-id: http://core.svn.wordpress.org/trunk@55873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-08-06 12:52:25 +00:00
parent df89489ac6
commit 52317da292
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ abstract class WP_Image_Editor {
* Check to see if specified mime-type is the same as type implied by
* file extension. If so, prefer extension from file.
*/
if ( ! $mime_type || ( $file_mime == $mime_type ) ) {
if ( ! $mime_type || ( $file_mime === $mime_type ) ) {
$mime_type = $file_mime;
$new_ext = $file_ext;
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-alpha-56360';
$wp_version = '6.4-alpha-56361';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.