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