From dc4832131f73f8448be4b28320e92598431e30f8 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 29 Dec 2012 18:07:23 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a41d32fe97..8c7b851c66 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1884,6 +1884,7 @@ function wp_get_mime_types() { 'mpeg|mpg|mpe' => 'video/mpeg', 'mp4|m4v' => 'video/mp4', 'ogv' => 'video/ogg', + 'webm' => 'video/webm', 'mkv' => 'video/x-matroska', // Text formats 'txt|asc|c|cc|h' => 'text/plain',