Ticket #33641: 33641.5.patch
File 33641.5.patch, 491 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/media.php
999 999 list( $img_width, $img_height ) = image_constrain_size_for_editor( $img['width'], $img['height'], $size ); 1000 1000 } 1001 1001 1002 // Bail early if $im age_width isn't set.1003 if ( ! $img_width) {1002 // Bail early if $img_width isn't set. 1003 if ( empty( $img_width ) ) { 1004 1004 return false; 1005 1005 } 1006 1006