Changeset 50146 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 02/02/2021 04:51:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r50129 r50146 3928 3928 $url = str_replace( wp_basename( $parent_url ), wp_basename( $cropped ), $parent_url ); 3929 3929 3930 $size = @getimagesize( $cropped );3930 $size = wp_getimagesize( $cropped ); 3931 3931 $image_type = ( $size ) ? $size['mime'] : 'image/jpeg'; 3932 3932
Note: See TracChangeset
for help on using the changeset viewer.