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:
parent
215dca2430
commit
69e811bb7c
@ -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
Block a user