From 630bad3a4f208461a76ff0b2510abf3ae6f81c7e Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 6 Sep 2019 23:48:55 +0000 Subject: [PATCH] Uploads: Improve the error message shown when all attempts to create image sub-sizes fail. Props afercia. See #47872. Built from https://develop.svn.wordpress.org/trunk@46075 git-svn-id: http://core.svn.wordpress.org/trunk@45887 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 518bf4e0f2..74e3585f4d 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -1128,7 +1128,7 @@ function wp_default_scripts( &$scripts ) { 'missing_upload_url' => __( 'There was a configuration error. Please contact the server administrator.' ), 'upload_limit_exceeded' => __( 'You may only upload 1 file.' ), 'http_error' => __( 'Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.' ), - 'http_error_image' => __( 'Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500px and upload it again.' ), + 'http_error_image' => __( 'Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.' ), 'upload_failed' => __( 'Upload failed.' ), /* translators: 1: Opening link tag, 2: Closing link tag. */ 'big_upload_failed' => __( 'Please try uploading this file with the %1$sbrowser uploader%2$s.' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index ba0f1e72cc..aac29148c0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46073'; +$wp_version = '5.3-alpha-46075'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.