Changeset 14066
- Timestamp:
- 04/11/2010 08:50:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14064 r14066 2326 2326 'audio' => array( 'aac', 'ac3', 'aif', 'aiff', 'm3a', 'm4a', 'm4b', 'mka', 'mp1', 'mp2', 'mp3', 'ogg', 'oga', 'ram', 'wav', 'wma' ), 2327 2327 'video' => array( 'asf', 'avi', 'divx', 'dv', 'flv', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'mpv', 'ogm', 'ogv', 'qt', 'rm', 'vob', 'wmv' ), 2328 'document' => array( 'doc', 'docx', 'docm', 'dotm', 'odt', 'pages', 'pdf', 'rtf' ),2328 'document' => array( 'doc', 'docx', 'docm', 'dotm', 'odt', 'pages', 'pdf', 'rtf', 'wp', 'wpd' ), 2329 2329 'spreadsheet' => array( 'numbers', 'ods', 'xls', 'xlsx', 'xlsb', 'xlsm' ), 2330 2330 'interactive' => array( 'key', 'ppt', 'pptx', 'pptm', 'odp', 'swf' ), 2331 2331 'text' => array( 'asc', 'csv', 'tsv', 'txt' ), 2332 2332 'archive' => array( 'bz2', 'cab', 'dmg', 'gz', 'rar', 'sea', 'sit', 'sqx', 'tar', 'tgz', 'zip' ), 2333 'code' => array( 'css', 'htm l', 'php', 'js' ),2333 'code' => array( 'css', 'htm', 'html', 'php', 'js' ), 2334 2334 )); 2335 2335 foreach ( $ext2type as $type => $exts ) … … 2436 2436 'odb' => 'application/vnd.oasis.opendocument.database', 2437 2437 'odf' => 'application/vnd.oasis.opendocument.formula', 2438 // wordperfect formats 2439 'wp|wpd' => 'application/wordperfect', 2438 2440 ) ); 2439 2441 }
Note: See TracChangeset
for help on using the changeset viewer.