WordPress.org

Make WordPress Core

Changeset 37728


Ignore:
Timestamp:
06/16/2016 04:14:25 PM (4 years ago)
Author:
ocean90
Message:

Media: Use the correct variable for the file object.

See #14244.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/plupload/handlers.js

    r37727 r37728  
    286286            break;
    287287        case plupload.FILE_EXTENSION_ERROR:
    288             wpFileExtensionError( uploader, file, pluploadL10n.invalid_filetype );
     288            wpFileExtensionError( uploader, fileObj, pluploadL10n.invalid_filetype );
    289289            break;
    290290        case plupload.FILE_SIZE_ERROR:
Note: See TracChangeset for help on using the changeset viewer.