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.