diff --git a/wp-includes/media.php b/wp-includes/media.php
index 89a3f36..b946553 100644
a
|
b
|
function image_resize( $file, $max_w, $max_h, $crop = false, $suffix = null, $de |
447 | 447 | $dir = $_dest_path; |
448 | 448 | $destfilename = "{$dir}/{$name}-{$suffix}.{$ext}"; |
449 | 449 | |
| 450 | //Set Image Interlace Flag |
| 451 | imageinterlace( $newimage, apply_filters( 'image_interlace', 0, $orig_type ) ); |
| 452 | |
450 | 453 | if ( IMAGETYPE_GIF == $orig_type ) { |
451 | 454 | if ( !imagegif( $newimage, $destfilename ) ) |
452 | 455 | return new WP_Error('resize_path_invalid', __( 'Resize path invalid' )); |