[wp-trac] [WordPress Trac] #22149: Customizer Uploader doesn't restrict by file type
WordPress Trac
noreply at wordpress.org
Fri Nov 9 05:07:50 UTC 2012
#22149: Customizer Uploader doesn't restrict by file type
------------------------------+--------------------
Reporter: pento | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Upload | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+--------------------
Comment (by koopersmith):
For custom headers and backgrounds, this looks solid.
For the customizer (and anything that uses Plupload), we can limit the
filetypes that a Plupload will accept via JS (see the `filter` property),
and could block the uploads earlier on as a result.
At this point, it probably makes sense to land the customizer-specific
code as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22149#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list