#24911 closed defect (bug) (fixed)
Media shortcodes must use wp_get_mime_types() with wp_check_filetype()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.6 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | |
| Focuses: | Cc: |
Description
wp_check_filetype(), by default, uses a list of allowed mime types. This is severely restricted in multisite by default to exclude video file types.
wp_get_mime_types() should be passed as the list of mimes to use.
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 24944: