Changeset 22319
- Timestamp:
- 10/28/2012 04:17:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r22192 r22319 255 255 $meta['created_timestamp'] = wp_exif_date2ts($exif['DateTimeDigitized'] ); 256 256 if ( ! empty($exif['FocalLength'] ) ) 257 $meta['focal_length'] = wp_exif_frac2dec( $exif['FocalLength'] );257 $meta['focal_length'] = (string) wp_exif_frac2dec( $exif['FocalLength'] ); 258 258 if ( ! empty($exif['ISOSpeedRatings'] ) ) { 259 259 $meta['iso'] = is_array( $exif['ISOSpeedRatings'] ) ? reset( $exif['ISOSpeedRatings'] ) : $exif['ISOSpeedRatings']; … … 261 261 } 262 262 if ( ! empty($exif['ExposureTime'] ) ) 263 $meta['shutter_speed'] = wp_exif_frac2dec( $exif['ExposureTime'] );263 $meta['shutter_speed'] = (string) wp_exif_frac2dec( $exif['ExposureTime'] ); 264 264 } 265 265
Note: See TracChangeset
for help on using the changeset viewer.