Changeset 40403 for branches/4.7/src/wp-includes/functions.php
- Timestamp:
- 04/10/2017 02:27:23 PM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/functions.php
r40134 r40403 2367 2367 try { 2368 2368 if ( is_callable( 'exif_imagetype' ) ) { 2369 $mime = image_type_to_mime_type( exif_imagetype( $file ) ); 2369 $imagetype = exif_imagetype( $file ); 2370 $mime = ( $imagetype ) ? image_type_to_mime_type( $imagetype ) : false; 2370 2371 } elseif ( function_exists( 'getimagesize' ) ) { 2371 2372 $imagesize = getimagesize( $file );
Note: See TracChangeset
for help on using the changeset viewer.