mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Coding Standards: Apply some minor alignment fixes.
These are updates caused by running `composer format`. Follow up to [51501], [51599], [51618], [51653]. See #53359, #50542, #53238, #53668, #53690. git-svn-id: https://develop.svn.wordpress.org/trunk@51693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2628,7 +2628,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 ) ) );
|
||||
|
||||
Reference in New Issue
Block a user