Changeset 32172 for branches/4.1/src/wp-includes/functions.php
- Timestamp:
- 04/20/2015 06:43:28 AM (11 years ago)
- File:
-
- 1 edited
-
branches/4.1/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/wp-includes/functions.php
r30674 r32172 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.