Ticket #43226: 43226.diff
| File 43226.diff, 537 bytes (added by , 8 years ago) |
|---|
-
src/wp-admin/includes/image.php
diff --git a/src/wp-admin/includes/image.php b/src/wp-admin/includes/image.php index 0f03e2c..6f5c472 100644
a b function wp_generate_attachment_metadata( $attachment_id, $file ) { 253 253 $sizes[ $s ]['crop'] = $_wp_additional_image_sizes[ $s ]['crop']; 254 254 } else { 255 255 // Force thumbnails to be soft crops. 256 if ( ! 'thumbnail' === $s ) {256 if ( 'thumbnail' !== $s ) { 257 257 $sizes[ $s ]['crop'] = get_option( "{$s}_crop" ); 258 258 } 259 259 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)