Make WordPress Core

Changeset 52189


Ignore:
Timestamp:
11/16/2021 07:59:11 PM (3 years ago)
Author:
adamsilverstein
Message:

Media: improve error message for failed image uploads.

Clarify error language and change the maximum suggested size to match the large image threshold.

Props zodiac1978, SergeyBiryukov, antpb, webcommsat, hellofromTonya. 
Fixes 53985.

File:
1 edited

Legend:

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

    r52162 r52189  
    884884        'upload_limit_exceeded'     => __( 'You may only upload 1 file.' ),
    885885        'http_error'                => __( 'Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.' ),
    886         '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.' ),
     886        'http_error_image'          => __( 'The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.' ),
    887887        'upload_failed'             => __( 'Upload failed.' ),
    888888        /* translators: 1: Opening link tag, 2: Closing link tag. */
Note: See TracChangeset for help on using the changeset viewer.