Changeset 18353
- Timestamp:
- 06/27/2011 09:33:34 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
r18031 r18353 2913 2913 */ 2914 2914 function sanitize_mime_type( $mime_type ) { 2915 $sani_mime_type = preg_replace( '/[^- *.a-zA-Z0-9\/]/', '', $mime_type );2915 $sani_mime_type = preg_replace( '/[^-+*.a-zA-Z0-9\/]/', '', $mime_type ); 2916 2916 return apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type ); 2917 2917 }
Note: See TracChangeset
for help on using the changeset viewer.