WordPress.org

Make WordPress Core

Changeset 10938


Ignore:
Timestamp:
04/15/2009 07:36:09 PM (9 years ago)
Author:
ryan
Message:

Allow m4v. Props hailin. fixes #9541

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10937 r10938  
    21192119    $ext2type = apply_filters('ext2type', array(
    21202120        'audio' => array('aac','ac3','aif','aiff','mp1','mp2','mp3','m3a','m4a','m4b','ogg','ram','wav','wma'),
    2121         'video' => array('asf','avi','divx','dv','mov','mpg','mpeg','mp4','mpv','ogm','qt','rm','vob','wmv'),
     2121        'video' => array('asf','avi','divx','dv','mov','mpg','mpeg','mp4','mpv','ogm','qt','rm','vob','wmv', 'm4v'),
    21222122        'document' => array('doc','docx','pages','odt','rtf','pdf'),
    21232123        'spreadsheet' => array('xls','xlsx','numbers','ods'),
     
    21562156        'divx' => 'video/divx',
    21572157        'mov|qt' => 'video/quicktime',
    2158         'mpeg|mpg|mpe|mp4' => 'video/mpeg',
     2158        'mpeg|mpg|mpe' => 'video/mpeg',
    21592159        'txt|c|cc|h' => 'text/plain',
    21602160        'rtx' => 'text/richtext',
     
    21622162        'htm|html' => 'text/html',
    21632163        'mp3|m4a' => 'audio/mpeg',
     2164        'mp4|m4v' => 'video/mp4',
    21642165        'ra|ram' => 'audio/x-realaudio',
    21652166        'wav' => 'audio/wav',
Note: See TracChangeset for help on using the changeset viewer.