diff --git a/wp-includes/functions.php b/wp-includes/functions.php index aea82e76c9..ef2ce9d9c3 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3101,13 +3101,13 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { // Attempt to figure out what type of image it actually is. $real_mime = wp_get_image_mime( $file ); - $heic_images_etx = array( + $heic_images_extensions = array( 'heif', 'heics', 'heifs', ); - if ( $real_mime && ( $real_mime !== $type || in_array( $ext, $heic_images_etx, true ) ) ) { + if ( $real_mime && ( $real_mime !== $type || in_array( $ext, $heic_images_extensions, true ) ) ) { /** * Filters the list mapping image mime types to their respective extensions. * diff --git a/wp-includes/version.php b/wp-includes/version.php index c517f587b8..8f3b6a342f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59357'; +$wp_version = '6.8-alpha-59358'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.