mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 07:22:01 +01:00
Add DivX MIME type, props wfrantz, fixes #8289
git-svn-id: http://svn.automattic.com/wordpress/trunk@9802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f0a8c6d428
commit
4b253013e2
@ -2038,6 +2038,7 @@ function wp_check_filetype( $filename, $mimes = null ) {
|
||||
'ico' => 'image/x-icon',
|
||||
'asf|asx|wax|wmv|wmx' => 'video/asf',
|
||||
'avi' => 'video/avi',
|
||||
'divx' => 'video/divx',
|
||||
'mov|qt' => 'video/quicktime',
|
||||
'mpeg|mpg|mpe|mp4' => 'video/mpeg',
|
||||
'txt|c|cc|h' => 'text/plain',
|
||||
|
Loading…
Reference in New Issue
Block a user