Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

#1 @nacin
13 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

In 24944:

Use wp_get_mime_types() when calling wp_check_filetype() in the audio and video shortcodes. fixes #24911.

#2 @nacin
13 years ago

In 24945:

Use wp_get_mime_types() when calling wp_check_filetype() in the audio and video shortcodes. fixes #24911.

Merges [24911] to the 3.6 branch.

Note: See TracTickets for help on using tickets.