Ticket #11519: functions.diff
File functions.diff, 1.3 KB (added by , 15 years ago) |
---|
-
functions.php
2222 2222 */ 2223 2223 function wp_ext2type( $ext ) { 2224 2224 $ext2type = apply_filters('ext2type', array( 2225 'audio' => array('aac','ac3','aif','aiff','mp1','mp2','mp3','m3a','m4a','m4b','ogg',' ram','wav','wma'),2226 'video' => array('asf','avi','divx','dv','m ov','mpg','mpeg','mp4','mpv','ogm','qt','rm','vob','wmv', 'm4v'),2225 'audio' => array('aac','ac3','aif','aiff','mp1','mp2','mp3','m3a','m4a','m4b','ogg','oga','ram','wav','wma'), 2226 'video' => array('asf','avi','divx','dv','m4v','mov','mpg','mpeg','mp4','mpv','ogm','ogv','qt','rm','vob','wmv'), 2227 2227 'document' => array('doc','docx','pages','odt','rtf','pdf'), 2228 2228 'spreadsheet' => array('xls','xlsx','numbers','ods'), 2229 2229 'interactive' => array('ppt','pptx','key','odp','swf'), … … 2290 2290 'flv' => 'video/x-flv', 2291 2291 'mov|qt' => 'video/quicktime', 2292 2292 'mpeg|mpg|mpe' => 'video/mpeg', 2293 'ogv' => 'video/ogg', 2293 2294 'txt|c|cc|h' => 'text/plain', 2294 2295 'rtx' => 'text/richtext', 2295 2296 'css' => 'text/css', … … 2298 2299 'mp4|m4v' => 'video/mp4', 2299 2300 'ra|ram' => 'audio/x-realaudio', 2300 2301 'wav' => 'audio/wav', 2301 'ogg ' => 'audio/ogg',2302 'ogg|oga' => 'audio/ogg', 2302 2303 'mid|midi' => 'audio/midi', 2303 2304 'wma' => 'audio/wma', 2304 2305 'rtf' => 'application/rtf',