Ticket #30377: 30377.2.diff
File 30377.2.diff, 462 bytes (added by , 10 years ago) |
---|
-
wp-includes/functions.php
diff --git wp-includes/functions.php wp-includes/functions.php index d13a5b1..a19a567 100644
function wp_ext2type( $ext ) { 2048 2048 * @return array Values with extension first and mime type. 2049 2049 */ 2050 2050 function wp_check_filetype( $filename, $mimes = null ) { 2051 $filename = parse_url( $filename, PHP_URL_PATH ); 2052 2051 2053 if ( empty($mimes) ) 2052 2054 $mimes = get_allowed_mime_types(); 2053 2055 $type = false;