Changeset 30640 for trunk/src/wp-includes/functions.php
- Timestamp:
- 11/30/2014 06:32:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r30614 r30640 2050 2050 2051 2051 foreach ( $mimes as $ext_preg => $mime_match ) { 2052 $ext_preg = '!\.(' . $ext_preg . ') $!i';2052 $ext_preg = '!\.(' . $ext_preg . ')(\?.*)?$!i'; 2053 2053 if ( preg_match( $ext_preg, $filename, $ext_matches ) ) { 2054 2054 $type = $mime_match;
Note: See TracChangeset
for help on using the changeset viewer.