[wp-trac] [WordPress Trac] #24911: Media shortcodes must use wp_get_mime_types() with wp_check_filetype()
WordPress Trac
noreply at wordpress.org
Thu Aug 1 13:31:34 UTC 2013
#24911: Media shortcodes must use wp_get_mime_types() with wp_check_filetype()
--------------------------+-----------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version:
Severity: normal | Keywords:
--------------------------+-----------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24911>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list