Changeset 32171 for trunk/src/wp-includes/functions.php
- Timestamp:
- 04/20/2015 06:38:08 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r32116 r32171 2054 2054 2055 2055 foreach ( $mimes as $ext_preg => $mime_match ) { 2056 $ext_preg = '!\.(' . $ext_preg . ') (\?.*)?$!i';2056 $ext_preg = '!\.(' . $ext_preg . ')$!i'; 2057 2057 if ( preg_match( $ext_preg, $filename, $ext_matches ) ) { 2058 2058 $type = $mime_match;
Note: See TracChangeset
for help on using the changeset viewer.