[wp-trac] [WordPress Trac] #22149: Customizer Uploader doesn't restrict by file type
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 10 05:30:47 UTC 2012
#22149: Customizer Uploader doesn't restrict by file type
-----------------------------+--------------------------
Reporter: pento | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Upload
Version: trunk | Severity: normal
Keywords: |
-----------------------------+--------------------------
When using the Theme Customizer to upload a new background image, it
doesn't restrict the file types that can be uploaded. For example, I can
upload a video file, the file will be uploaded and inserted into the Media
Library, then the Customizer will try to treat it like an image.
I think the best way around this would be to restrict uploads in the
Customizer to images only.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22149>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list