diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 1ef8b3d907..a6b81dc5da 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2625,7 +2625,7 @@ function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) $alt_mime_type = $output_formats[ $mime_type ]; // Other types of images whose names may conflict if their sub-sizes are regenerated. - $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type, $alt_mime_type ) ) ); + $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type, $alt_mime_type ) ) ); $alt_types[] = $alt_mime_type; } elseif ( ! empty( $output_formats ) ) { $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type ) ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 1c1542a07c..d4cd80b00d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8.1-alpha-51706'; +$wp_version = '5.8.1-alpha-51707'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.