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
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user