Changeset 47219 for trunk/src/wp-admin/includes/image.php
- Timestamp:
- 02/09/2020 04:52:28 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/image.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r47122 r47219 248 248 249 249 // Do not scale (large) PNG images. May result in sub-sizes that have greater file size than the original. See #48736. 250 if ( $imagesize['mime'] !== 'image/png') {250 if ( 'image/png' !== $imagesize['mime'] ) { 251 251 252 252 /** … … 311 311 // TODO: Log errors. 312 312 } 313 } elseif ( ! empty( $exif_meta['orientation'] ) && (int) $exif_meta['orientation'] !== 1) {313 } elseif ( ! empty( $exif_meta['orientation'] ) && 1 !== (int) $exif_meta['orientation'] ) { 314 314 // Rotate the whole original image if there is EXIF data and "orientation" is not 1. 315 315
Note: See TracChangeset
for help on using the changeset viewer.