Make WordPress Core

Changeset 47259


Ignore:
Timestamp:
02/11/2020 03:18:02 AM (5 years ago)
Author:
azaozz
Message:

Media: Improve wording for error message on failed post-processing of uploaded images.

Props eclev91, desrosj, antpb, azaozz.
Fixes #49280.

File:
1 edited

Legend:

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

    r47238 r47259  
    921921        'upload_limit_exceeded'     => __( 'You may only upload 1 file.' ),
    922922        'http_error'                => __( 'Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.' ),
    923         '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.' ),
     923        'http_error_image'          => __( 'Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.' ),
    924924        'upload_failed'             => __( 'Upload failed.' ),
    925925        /* translators: 1: Opening link tag, 2: Closing link tag. */
Note: See TracChangeset for help on using the changeset viewer.