Changeset 18014
- Timestamp:
- 05/24/2011 03:47:45 PM (13 years ago)
- Location:
- branches/3.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1
-
branches/3.1/wp-includes/formatting.php
r17571 r18014 719 719 $allowed = false; 720 720 foreach ( $mimes as $ext_preg => $mime_match ) { 721 $ext_preg = '! (^' . $ext_preg . ')$!i';721 $ext_preg = '!^(' . $ext_preg . ')$!i'; 722 722 if ( preg_match( $ext_preg, $part ) ) { 723 723 $allowed = true;
Note: See TracChangeset
for help on using the changeset viewer.