Remove debug.
git-svn-id: http://core.svn.wordpress.org/trunk@24766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35eec2dd57
commit
25e9adef27
|
@ -124,7 +124,6 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->image = new Imagick( $this->file );
|
$this->image = new Imagick( $this->file );
|
||||||
ob_start(); var_dump( $this->image instanceof Imagick ); error_log( ob_get_clean() );
|
|
||||||
|
|
||||||
if( ! $this->image->valid() )
|
if( ! $this->image->valid() )
|
||||||
return new WP_Error( 'invalid_image', __('File is not an image.'), $this->file);
|
return new WP_Error( 'invalid_image', __('File is not an image.'), $this->file);
|
||||||
|
|
Loading…
Reference in New Issue