Media: Use the correct variable for the file object.

See #14244.
Built from https://develop.svn.wordpress.org/trunk@37728


git-svn-id: http://core.svn.wordpress.org/trunk@37694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-06-16 16:15:31 +00:00
parent 4e403b2752
commit 0756d8bec7
3 changed files with 3 additions and 3 deletions

View File

@ -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);

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37727';
$wp_version = '4.6-alpha-37728';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.