Make WordPress Core


Ignore:
Timestamp:
06/24/2021 07:10:32 PM (4 years ago)
Author:
azaozz
Message:

Media: Prevent uploading and show an error message when the server doesn't support editing of WebP images, take II. Add new, better error message for it.

Props antpb, joedolson, iandunn, azaozz.
Fixes #53475.

File:
1 edited

Legend:

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

    r51223 r51227  
    876876        'error_uploading'           => __( '“%s” has failed to upload.' ),
    877877        'unsupported_image'         => __( 'This image cannot be displayed in a web browser. For best results convert it to JPEG before uploading.' ),
     878        'noneditable_image'         => __( 'This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading.' ),
    878879        'file_url_copied'           => __( 'The file URL has been copied to your clipboard' ),
    879880    );
Note: See TracChangeset for help on using the changeset viewer.