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:
parent
ea9d389751
commit
559fa91b8d
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue