WordPress.org

Make WordPress Core

Changeset 23422


Ignore:
Timestamp:
02/15/13 16:12:40 (2 years ago)
Author:
markjaquith
Message:

Update our Windows media file MIME types to the official Microsoft-recommended ones.

props niallkennedy, wonderboymusic. fixes #14253

File:
1 edited

Legend:

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

    r23416 r23422  
    14381438 * Determine if a directory is writable. 
    14391439 * 
    1440  * This function is used to work around certain ACL issues  
     1440 * This function is used to work around certain ACL issues 
    14411441 * in PHP primarily affecting Windows Servers. 
    14421442 * 
     
    14581458 * Workaround for Windows bug in is_writable() function 
    14591459 * 
    1460  * PHP has issues with Windows ACL's for determine if a  
     1460 * PHP has issues with Windows ACL's for determine if a 
    14611461 * directory is writable or not, this works around them by 
    14621462 * checking the ability to open files rather than relying 
     
    19131913    'ico' => 'image/x-icon', 
    19141914    // Video formats 
    1915     'asf|asx|wax|wmv|wmx' => 'video/asf', 
     1915    'asf|asx' => 'video/x-ms-asf', 
     1916    'wmv' => 'video/x-ms-wmv', 
     1917    'wmx' => 'video/x-ms-wmx', 
     1918    'wm' => 'video/x-ms-wm', 
    19161919    'avi' => 'video/avi', 
    19171920    'divx' => 'video/divx', 
     
    19371940    'ogg|oga' => 'audio/ogg', 
    19381941    'mid|midi' => 'audio/midi', 
    1939     'wma' => 'audio/wma', 
     1942    'wma' => 'audio/x-ms-wma', 
     1943    'wax' => 'audio/x-ms-wax', 
    19401944    'mka' => 'audio/x-matroska', 
    19411945    // Misc application formats 
Note: See TracChangeset for help on using the changeset viewer.