Changeset 12717
- Timestamp:
- 01/13/2010 10:06:02 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r12714 r12717 2229 2229 function wp_ext2type( $ext ) { 2230 2230 $ext2type = apply_filters( 'ext2type', array( 2231 'audio' => array( 'aac', 'ac3', 'aif', 'aiff', 'm3a', 'm4a', 'm4b', 'mka', 'mp1', 'mp2','mp3', 'ogg', 'ram', 'wav', 'wma' ),2232 'video' => array( 'asf', 'avi', 'divx', 'dv', 'flv', 'm kv', 'mov', 'mpg', 'mpeg', 'mp4', 'mpv', 'ogm', 'qt', 'rm', 'vob', 'wmv', 'm4v' ),2231 'audio' => array( 'aac', 'ac3', 'aif', 'aiff', 'm3a', 'm4a', 'm4b', 'mka', 'mp1', 'mp2', 'mp3', 'ogg', 'ram', 'wav', 'wma' ), 2232 'video' => array( 'asf', 'avi', 'divx', 'dv', 'flv', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'mpv', 'ogm', 'qt', 'rm', 'vob', 'wmv' ), 2233 2233 'document' => array( 'doc', 'docx', 'docm', 'dotm', 'odt', 'pages', 'pdf', 'rtf' ), 2234 2234 'spreadsheet' => array( 'numbers', 'ods', 'xls', 'xlsx', 'xlsb', 'xlsm' ), 2235 2235 'interactive' => array( 'key', 'ppt', 'pptx', 'pptm', 'odp', 'swf' ), 2236 2236 'text' => array( 'asc', 'txt' ), 2237 'archive' => array( 'bz2', 'cab', 'dmg', 'gz', 'rar', 'sea', 'sit', 'sqx', 'tar', 'tgz', 'zip' ),2237 'archive' => array( 'bz2', 'cab', 'dmg', 'gz', 'rar', 'sea', 'sit', 'sqx', 'tar', 'tgz', 'zip' ), 2238 2238 'code' => array( 'css', 'html', 'php', 'js' ), 2239 2239 )); … … 2301 2301 'css' => 'text/css', 2302 2302 'htm|html' => 'text/html', 2303 'mp3|m4a ' => 'audio/mpeg',2303 'mp3|m4a|m4b' => 'audio/mpeg', 2304 2304 'mp4|m4v' => 'video/mp4', 2305 2305 'ra|ram' => 'audio/x-realaudio',
Note: See TracChangeset
for help on using the changeset viewer.