Ticket #19393: 19393.5.diff
File 19393.5.diff, 738 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/image-edit.php
778 778 if ( isset( $_wp_additional_image_sizes[ $size ] ) ) { 779 779 $width = intval( $_wp_additional_image_sizes[ $size ]['width'] ); 780 780 $height = intval( $_wp_additional_image_sizes[ $size ]['height'] ); 781 $crop = ( $nocrop ) ? false : intval( $_wp_additional_image_sizes[ $size ]['crop'] );781 $crop = ( $nocrop ) ? false : $_wp_additional_image_sizes[ $size ]['crop']; 782 782 } else { 783 783 $height = get_option( "{$size}_size_h" ); 784 784 $width = get_option( "{$size}_size_w" );