Coding Standards: Fix WPCS issues in [51227].

This fixes a "Tabs must be used to indent lines; spaces are not allowed" error.

See #53475.

git-svn-id: https://develop.svn.wordpress.org/trunk@51230 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-06-24 20:54:43 +00:00
parent 15b43fb360
commit e2feb7cf77
2 changed files with 2 additions and 2 deletions

View File

@ -2200,7 +2200,7 @@ function media_upload_form( $errors = null ) {
// Check if WebP images can be edited.
if ( ! wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ) ) {
$plupload_init['webp_upload_error'] = true;
$plupload_init['webp_upload_error'] = true;
}
/**

View File

@ -3860,7 +3860,7 @@ function wp_plupload_default_settings() {
// Check if WebP images can be edited.
if ( ! wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ) ) {
$defaults['webp_upload_error'] = true;
$defaults['webp_upload_error'] = true;
}
/**