Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@24766 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b7dba77c45
commit
51dc69ccc7
@ -124,7 +124,6 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
|
||||
try {
|
||||
$this->image = new Imagick( $this->file );
|
||||
ob_start(); var_dump( $this->image instanceof Imagick ); error_log( ob_get_clean() );
|
||||
|
||||
if( ! $this->image->valid() )
|
||||
return new WP_Error( 'invalid_image', __('File is not an image.'), $this->file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user