From e382a52cdef22a091381634deb84d7ef2310ec52 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Tue, 18 Mar 2025 23:41:26 +0000 Subject: [PATCH] Coding Standards: Fix alignment in `wp_check_filetype_and_ext`. Follow-up to [59315]. See #62272, #62279. Built from https://develop.svn.wordpress.org/trunk@60049 git-svn-id: http://core.svn.wordpress.org/trunk@59385 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 18 +++++++++--------- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3eb9e89255..8366f92157 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3124,13 +3124,13 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { $mime_to_ext = apply_filters( 'getimagesize_mimes_to_exts', array( - 'image/jpeg' => 'jpg', - 'image/png' => 'png', - 'image/gif' => 'gif', - 'image/bmp' => 'bmp', - 'image/tiff' => 'tif', - 'image/webp' => 'webp', - 'image/avif' => 'avif', + 'image/jpeg' => 'jpg', + 'image/png' => 'png', + 'image/gif' => 'gif', + 'image/bmp' => 'bmp', + 'image/tiff' => 'tif', + 'image/webp' => 'webp', + 'image/avif' => 'avif', /* * In theory there are/should be file extensions that correspond to the @@ -3138,8 +3138,8 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { * with any of the mime types commonly have a .heic file extension. * Seems keeping the status quo here is best for compatibility. */ - 'image/heic' => 'heic', - 'image/heif' => 'heic', + 'image/heic' => 'heic', + 'image/heif' => 'heic', 'image/heic-sequence' => 'heic', 'image/heif-sequence' => 'heic', ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 834a6246db..fe8b51628b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-beta3-60048'; +$wp_version = '6.8-beta3-60049'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.