mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 02:04:26 +00:00
Improve upload_max_filesize error. Improve error display for long messages. New uploads now added to bottom, not top. Fix align class. Remove redundant header text. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -97,7 +97,7 @@ class WP_Scripts {
|
||||
// these error messages came from the sample swfupload js, they might need changing.
|
||||
$this->localize( 'swfupload-handlers', 'swfuploadL10n', array(
|
||||
'queue_limit_exceeded' => __('You have attempted to queue too many files.'),
|
||||
'file_exceeds_size_limit' => __('This file is too big. See php.ini.'),
|
||||
'file_exceeds_size_limit' => sprintf(__('This file is too big. Your php.ini upload_max_filesize is %s.'), ini_get('upload_max_filesize')),
|
||||
'zero_byte_file' => __('The file you selected is empty. Please select another file.'),
|
||||
'invalid_filetype' => __('The file you choose is not an allowed file type.'),
|
||||
'default_error' => __('An error occurred in the upload. Please try again later.'),
|
||||
|
||||
Reference in New Issue
Block a user