From 468629720ce383f0b1a611fb9bb2a4f83a509ce1 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 6 Sep 2019 23:47:05 +0000 Subject: [PATCH] Uploads: Improve the error message shown when all attempts to create image sub-sizes fail. Props afercia. See #47872. git-svn-id: https://develop.svn.wordpress.org/trunk@46075 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/script-loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 518bf4e0f2..74e3585f4d 100644 --- a/src/wp-includes/script-loader.php +++ b/src/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.' ),