mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Media: Use a consistent error message for file type errors on uploading.
Props pavelevap, jackreichert. Fixes #33242. git-svn-id: https://develop.svn.wordpress.org/trunk@39891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -280,7 +280,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'queue_limit_exceeded' => __('You have attempted to queue too many files.'),
|
||||
'file_exceeds_size_limit' => __('%s exceeds the maximum upload size for this site.'),
|
||||
'zero_byte_file' => __('This file is empty. Please try another.'),
|
||||
'invalid_filetype' => __('This file type is not allowed. Please try another.'),
|
||||
'invalid_filetype' => __('Sorry, this file type is not permitted for security reasons.'),
|
||||
'not_an_image' => __('This file is not an image. Please try another.'),
|
||||
'image_memory_exceeded' => __('Memory exceeded. Please try another smaller file.'),
|
||||
'image_dimensions_exceeded' => __('This is larger than the maximum size. Please try another.'),
|
||||
|
||||
Reference in New Issue
Block a user