Ticket #14253: 14253.diff
| File 14253.diff, 1.4 KB (added by wonderboymusic, 4 months ago) |
|---|
-
wp-includes/functions.php
1437 1437 /** 1438 1438 * Determine if a directory is writable. 1439 1439 * 1440 * This function is used to work around certain ACL issues 1440 * This function is used to work around certain ACL issues 1441 1441 * in PHP primarily affecting Windows Servers. 1442 1442 * 1443 1443 * @see win_is_writable() … … 1457 1457 /** 1458 1458 * Workaround for Windows bug in is_writable() function 1459 1459 * 1460 * PHP has issues with Windows ACL's for determine if a 1460 * PHP has issues with Windows ACL's for determine if a 1461 1461 * directory is writable or not, this works around them by 1462 1462 * checking the ability to open files rather than relying 1463 1463 * upon PHP to interprate the OS ACL. … … 1912 1912 'tif|tiff' => 'image/tiff', 1913 1913 'ico' => 'image/x-icon', 1914 1914 // 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', 1916 1919 'avi' => 'video/avi', 1917 1920 'divx' => 'video/divx', 1918 1921 'flv' => 'video/x-flv', … … 1936 1939 'wav' => 'audio/wav', 1937 1940 'ogg|oga' => 'audio/ogg', 1938 1941 'mid|midi' => 'audio/midi', 1939 'wma' => 'audio/wma', 1942 'wma' => 'audio/x-ms-wma', 1943 'wax' => 'audio/x-ms-wax', 1940 1944 'mka' => 'audio/x-matroska', 1941 1945 // Misc application formats 1942 1946 'rtf' => 'application/rtf',
