diff --git a/wp-includes/media.php b/wp-includes/media.php index 4e4335bdf..d546204b0 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -73,6 +73,8 @@ function image_downsize($id, $size = 'medium') { $width = $info[0]; $height = $info[1]; } + else + return false; } elseif ( isset($meta['width'], $meta['height']) ) { // any other type: use the real image and constrain it