[wp-trac] [WordPress Trac] #21594: Allow fetching unfiltered allowed mime types list

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 15 17:50:16 UTC 2012


#21594: Allow fetching unfiltered allowed mime types list
--------------------------+-------------------
 Reporter:  ryan          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.5
Component:  General       |    Version:  3.4.1
 Severity:  normal        |   Keywords:
--------------------------+-------------------
 In #11668, do_enclose() gained mime type checking. It uses
 get_allowed_mime_types(). However, multisite installs greatly restrict the
 mime list when they run check_upload_mimes() on the upload_mimes filter.
 do_enclose() needs access to the full list. Introducing get_mime_types()
 and making get_allowed_mime_types() a wrapper could accommodate this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21594>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list