Skip to content
Permalink
Browse files

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
  • Loading branch information...
azaozz committed Sep 6, 2019
1 parent e1665da commit 468629720ce383f0b1a611fb9bb2a4f83a509ce1
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.' ),

0 comments on commit 4686297

Please sign in to comment.
You can’t perform that action at this time.