[wp-trac] [WordPress Trac] #40803: Audio or video files do not show on upload

WordPress Trac noreply at wordpress.org
Wed May 24 19:11:45 UTC 2017


#40803: Audio or video files do not show on upload
--------------------------+------------------------------
 Reporter:  karmatosed    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by timmydcrawford):

 Dug a bit further and it looks like if we pass in an array of specific
 mime types, the query performs as expected.  [[attachment:40803.3.diff]]
 shows this approach, and maintains the proper filtering of .mov files.
 Note you can still drag and drop or upload a .mov file - but the original
 issue reported here is fixed by this diff.

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


More information about the wp-trac mailing list