#21594 closed defect (bug) (fixed)
Allow fetching unfiltered allowed mime types list
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.5 | Priority: | normal |
| Severity: | normal | Version: | 3.4.1 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
While in here we can also address #21299.