Changeset 21219 for trunk/wp-includes/post.php
- Timestamp:
- 07/05/2012 08:51:55 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r21213 r21219 4037 4037 $ext = preg_match('/\.([^.]+)$/', $file, $matches) ? strtolower($matches[1]) : false; 4038 4038 4039 $image_exts = array( 'jpg', 'jpeg', 'gif', 'png');4039 $image_exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' ); 4040 4040 4041 4041 if ( 'image/' == substr($post->post_mime_type, 0, 6) || $ext && 'import' == $post->post_mime_type && in_array($ext, $image_exts) )
Note: See TracChangeset
for help on using the changeset viewer.