Make WordPress Core


Ignore:
Timestamp:
06/22/2021 11:11:02 PM (4 years ago)
Author:
azaozz
Message:

Media: Prevent uploading and show an error message when the server doesn't support editing of WebP files and image sub-sizes cannot be created.

Props adamsilverstein, desrosj, azaozz
Fixes #53475

File:
1 edited

Legend:

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

    r51160 r51211  
    852852        'file_exceeds_size_limit'   => __( '%s exceeds the maximum upload size for this site.' ),
    853853        'zero_byte_file'            => __( 'This file is empty. Please try another.' ),
    854         'invalid_filetype'          => __( 'Sorry, this file type is not permitted for security reasons.' ),
     854        'invalid_filetype'          => __( 'Sorry, this file type is not supported.' ),
    855855        'not_an_image'              => __( 'This file is not an image. Please try another.' ),
    856856        'image_memory_exceeded'     => __( 'Memory exceeded. Please try another smaller file.' ),
Note: See TracChangeset for help on using the changeset viewer.