Ticket #7225: 7225.diff
File 7225.diff, 2.0 KB (added by , 15 years ago) |
---|
-
wp-includes/functions.php
2224 2224 $ext2type = apply_filters('ext2type', array( 2225 2225 'audio' => array('aac','ac3','aif','aiff','mp1','mp2','mp3','m3a','m4a','m4b','ogg','ram','wav','wma'), 2226 2226 'video' => array('asf','avi','divx','dv','mov','mpg','mpeg','mp4','mpv','ogm','qt','rm','vob','wmv', 'm4v'), 2227 'document' => array('doc','docx',' pages','odt','rtf','pdf'),2228 'spreadsheet' => array('xls','xlsx',' numbers','ods'),2229 'interactive' => array('ppt','pptx',' key','odp','swf'),2227 'document' => array('doc','docx','docm','dotm','pages','odt','rtf','pdf'), 2228 'spreadsheet' => array('xls','xlsx','xlsb','xlsm','numbers','ods'), 2229 'interactive' => array('ppt','pptx','pptm','key','odp','swf'), 2230 2230 'text' => array('txt'), 2231 2231 'archive' => array('tar','bz2','gz','cab','dmg','rar','sea','sit','sqx','zip'), 2232 2232 'code' => array('css','html','php','js'), … … 2305 2305 'js' => 'application/javascript', 2306 2306 'pdf' => 'application/pdf', 2307 2307 'doc|docx' => 'application/msword', 2308 'pot|pps|ppt|pptx ' => 'application/vnd.ms-powerpoint',2308 'pot|pps|ppt|pptx|ppam|pptm|sldm|ppsm|potm' => 'application/vnd.ms-powerpoint', 2309 2309 'wri' => 'application/vnd.ms-write', 2310 'xla|xls|xlsx|xlt|xlw ' => 'application/vnd.ms-excel',2310 'xla|xls|xlsx|xlt|xlw|xlam|xlsb|xlsm|xltm' => 'application/vnd.ms-excel', 2311 2311 'mdb' => 'application/vnd.ms-access', 2312 2312 'mpp' => 'application/vnd.ms-project', 2313 'docm|dotm' => 'application/vnd.ms-word', 2314 'pptx|sldx|ppsx|potx' => 'application/vnd.openxmlformats-officedocument.presentationml', 2315 'xlsx|xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml', 2316 'docx|dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml', 2317 'onetoc|onetoc2|onetmp|onepkg' => 'application/onenote', 2313 2318 'swf' => 'application/x-shockwave-flash', 2314 2319 'class' => 'application/java', 2315 2320 'tar' => 'application/x-tar',