[wp-trac] [WordPress Trac] #14244: Upload file types should be checked BEFORE uploading.

WordPress Trac noreply at wordpress.org
Thu May 22 06:41:53 UTC 2014


#14244: Upload file types should be checked BEFORE uploading.
-------------------------+-----------------------------
 Reporter:  ipstenu      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------
Changes (by ericlewis):

 * keywords:   => needs-patch
 * type:  defect (bug) => enhancement


Comment:

 Yes, we can do something similar to the early image detection in the
 FilesAdded callback [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/js/plupload/wp-plupload.js#L175 in wp.Uploader].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14244#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list