Add .webm (video/webm) to wp_get_mime_types(). props wonderboymusic. fixes #14659
git-svn-id: http://core.svn.wordpress.org/trunk@23229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3c0d96524c
commit
dc4832131f
|
@ -1884,6 +1884,7 @@ function wp_get_mime_types() {
|
||||||
'mpeg|mpg|mpe' => 'video/mpeg',
|
'mpeg|mpg|mpe' => 'video/mpeg',
|
||||||
'mp4|m4v' => 'video/mp4',
|
'mp4|m4v' => 'video/mp4',
|
||||||
'ogv' => 'video/ogg',
|
'ogv' => 'video/ogg',
|
||||||
|
'webm' => 'video/webm',
|
||||||
'mkv' => 'video/x-matroska',
|
'mkv' => 'video/x-matroska',
|
||||||
// Text formats
|
// Text formats
|
||||||
'txt|asc|c|cc|h' => 'text/plain',
|
'txt|asc|c|cc|h' => 'text/plain',
|
||||||
|
|
Loading…
Reference in New Issue