mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
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:
parent
df89489ac6
commit
52317da292
@ -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;
|
||||
}
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user