Ticket #17475: image-edit.php.diff
File image-edit.php.diff, 604 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/image-edit.php
603 603 $meta['hwstring_small'] = "height='$uheight' width='$uwidth'"; 604 604 605 605 if ( $success && ('nothumb' == $target || 'all' == $target) ) { 606 $sizes = apply_filters( 'intermediate_image_sizes', array('large', 'medium', 'thumbnail'));606 $sizes = get_intermediate_image_sizes(); 607 607 if ( 'nothumb' == $target ) 608 608 $sizes = array_diff( $sizes, array('thumbnail') ); 609 609 }