WordPress.org

Make WordPress Core

Ticket #17475: image-edit.php.diff

File image-edit.php.diff, 604 bytes (added by mau, 3 years ago)
  • wp-admin/includes/image-edit.php

     
    603603                $meta['hwstring_small'] = "height='$uheight' width='$uwidth'"; 
    604604 
    605605                if ( $success && ('nothumb' == $target || 'all' == $target) ) { 
    606                         $sizes = apply_filters( 'intermediate_image_sizes', array('large', 'medium', 'thumbnail') ); 
     606                        $sizes = get_intermediate_image_sizes(); 
    607607                        if ( 'nothumb' == $target ) 
    608608                                $sizes = array_diff( $sizes, array('thumbnail') ); 
    609609                }