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
This commit is contained in:
rob1n 2007-04-24 23:28:39 +00:00
parent 215dca2430
commit 69e811bb7c
1 changed files with 1 additions and 0 deletions

View File

@ -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',