Plugin Updates
This commit is contained in:
@@ -263,7 +263,7 @@ class WC_Regenerate_Images {
|
||||
private static function get_full_size_image_dimensions( $attachment_id ) {
|
||||
$imagedata = wp_get_attachment_metadata( $attachment_id );
|
||||
|
||||
if ( ! $imagedata ) {
|
||||
if ( ! is_array( $imagedata ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user