Make WordPress Core


Ignore:
Timestamp:
09/06/2019 11:47:05 PM (5 years ago)
Author:
azaozz
Message:

Uploads: Improve the error message shown when all attempts to create image sub-sizes fail.

Props afercia.
See #47872.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r46073 r46075  
    11291129        'upload_limit_exceeded'     => __( 'You may only upload 1 file.' ),
    11301130        'http_error'                => __( 'Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.' ),
    1131         '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.' ),
     1131        '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.' ),
    11321132        'upload_failed'             => __( 'Upload failed.' ),
    11331133        /* translators: 1: Opening link tag, 2: Closing link tag. */
Note: See TracChangeset for help on using the changeset viewer.