*
* @since 2.1.0
*
+ * @global array $_wp_additional_image_sizes
+ *
* @param int $attachment_id Attachment Id to process.
* @param string $file Filepath of the Attached image.
* @return mixed Metadata for attachment.
}
// Remove the blob of binary data from the array.
- if ( isset( $metadata['image']['data'] ) )
- unset( $metadata['image']['data'] );
+ unset( $metadata['image']['data'] );
/**
* Filter the generated attachment meta data.