Remove debug.

git-svn-id: http://core.svn.wordpress.org/trunk@24766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-07-22 17:13:41 +00:00
parent 35eec2dd57
commit 25e9adef27

View File

@ -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);