Ticket #5911: 5911-7.diff
| File 5911-7.diff, 484 bytes (added by , 18 years ago) |
|---|
-
wp-includes/post.php
2390 2390 $post_mimes[] = str_replace('/', '_', $mime); 2391 2391 } 2392 2392 2393 $post_mimes[] = 'default';2394 2395 2393 $matches = wp_match_mime_types(array_keys($types), $post_mimes); 2394 $matches['default'] = array('default'); 2396 2395 2397 2396 foreach ( $matches as $match => $wilds ) { 2398 2397 if ( isset($types[$wilds[0]])) {