Ticket #34437: image_downsize.patch
File image_downsize.patch, 503 bytes (added by , 9 years ago) |
---|
-
wp-includes/media.php
2909 2909 2910 2910 /** This filter is documented in wp-includes/media.php */ 2911 2911 if ( $downsize = apply_filters( 'image_downsize', false, $attachment->ID, $size ) ) { 2912 if ( ! $downsize[3])2912 if ( ! isset( $downsize[3] ) ) 2913 2913 continue; 2914 2914 $sizes[ $size ] = array( 2915 2915 'height' => $downsize[2],