#24911 closed defect (bug) (fixed)
Media shortcodes must use wp_get_mime_types() with wp_check_filetype()
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 24944: