From 4381bf2ef6ae3b6c8aee6c1e26612e5fe428a305 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 24 Jun 2021 20:55:58 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issues in [51227]. This fixes a "Tabs must be used to indent lines; spaces are not allowed" error. See #53475. Built from https://develop.svn.wordpress.org/trunk@51230 git-svn-id: http://core.svn.wordpress.org/trunk@50839 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 +- wp-includes/media.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 8c27d15c17..97d59942ad 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -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; } /** diff --git a/wp-includes/media.php b/wp-includes/media.php index 5a725ca5f9..340ddc3bb4 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -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; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index c7b10fbb42..cbf2ee046a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta3-51229'; +$wp_version = '5.8-beta3-51230'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.