Add ODT to allowed file types. Props Nazgul. fixes #4136

git-svn-id: http://svn.automattic.com/wordpress/trunk@5304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-24 23:28:39 +00:00
parent ea9d389751
commit 559fa91b8d
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',