From 69e811bb7c629c9e77165e5eab95cc9c642e7b06 Mon Sep 17 00:00:00 2001 From: rob1n Date: Tue, 24 Apr 2007 23:28:39 +0000 Subject: [PATCH] Add ODT to allowed file types. Props Nazgul. fixes #4136 git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 358593b1bd..f38dd85428 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1194,6 +1194,7 @@ function wp_check_filetype($filename, $mimes = null) { 'js' => 'application/javascript', 'pdf' => 'application/pdf', 'doc' => 'application/msword', + 'odt' => 'application/vnd.oasis.opendocument.text', 'pot|pps|ppt' => 'application/vnd.ms-powerpoint', 'wri' => 'application/vnd.ms-write', 'xla|xls|xlt|xlw' => 'application/vnd.ms-excel',