diff --git a/wp-admin/includes/image.php b/wp-admin/includes/image.php index 573f107605..d6e6fbd563 100644 --- a/wp-admin/includes/image.php +++ b/wp-admin/includes/image.php @@ -253,7 +253,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) { $sizes[ $s ]['crop'] = $_wp_additional_image_sizes[ $s ]['crop']; } else { // Force thumbnails to be soft crops. - if ( ! 'thumbnail' === $s ) { + if ( 'thumbnail' !== $s ) { $sizes[ $s ]['crop'] = get_option( "{$s}_crop" ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 23a119e80e..ff0caa6233 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42791'; +$wp_version = '5.0-alpha-42792'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.