[wp-trac] [WordPress Trac] #36844: Restrict upload MIME types for Customizer image controls to image MIME types

WordPress Trac noreply at wordpress.org
Sun May 15 15:47:20 UTC 2016


#36844: Restrict upload MIME types for Customizer image controls to image MIME
types
--------------------------+-----------------------------
 Reporter:  neverything   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by westonruter):

 * milestone:  Awaiting Review => Future Release


Comment:

 It looks like the Media Manager allows you to upload and select a file
 that is not among the allowed file types. I tried uploading an MP3 when
 selecting a background image, and after uploading the image didn't appear
 in the library but it was selected in the attachment details and I could
 submit it. Uploads of the incorrect file type shouldn't be selected by
 default once the upload finishes.

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


More information about the wp-trac mailing list