[wp-trac] [WordPress Trac] #38195: Adding more mime_types filter to Media Library

WordPress Trac noreply at wordpress.org
Fri Sep 30 20:17:31 UTC 2016


#38195: Adding more mime_types filter to Media Library
-------------------------+------------------------------
 Reporter:  zodiac1978   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by zodiac1978):

 Replying to [comment:1 lukecavanagh]:
 > Maybe to Documents:
 >
 > Also add
 > application/epub+zip
 > application/x-mobipocket-ebook

 This has to be added to the allowed mime types in `wp_get_mime_types`:
 https://core.trac.wordpress.org/browser/tags/4.5.3/src/wp-
 includes/functions.php#L2336

 I am talking about the filter dropdown in `/wp-admin/upload.php`.

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


More information about the wp-trac mailing list