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

WordPress Trac noreply at wordpress.org
Thu Jun 16 15:38:14 UTC 2016


#14244: Upload file types should be checked BEFORE uploading.
-------------------------------------+----------------------
 Reporter:  ipstenu                  |       Owner:  ocean90
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.6
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37727"]:
 {{{
 #!CommitTicketReference repository="" revision="37727"
 Media: Pass allowed file extensions to Plupload.

 Plupload's `mime_types` filter
 (http://www.plupload.com/docs/Options#filters.mime_types) allows us to
 inform a user about an unsupported file before the file gets uploaded.

 Props polevaultweb.
 Fixes #14244.
 }}}

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


More information about the wp-trac mailing list