mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Media: Use the correct variable for the file object.
See #14244. git-svn-id: https://develop.svn.wordpress.org/trunk@37728 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -285,7 +285,7 @@ function uploadError(fileObj, errorCode, message, uploader) {
|
||||
wpFileError(fileObj, pluploadL10n.upload_failed);
|
||||
break;
|
||||
case plupload.FILE_EXTENSION_ERROR:
|
||||
wpFileExtensionError( uploader, file, pluploadL10n.invalid_filetype );
|
||||
wpFileExtensionError( uploader, fileObj, pluploadL10n.invalid_filetype );
|
||||
break;
|
||||
case plupload.FILE_SIZE_ERROR:
|
||||
uploadSizeError(uploader, fileObj);
|
||||
|
||||
Reference in New Issue
Block a user