Media: Correct "Exception" typo in WP_Image_Editor_Imagick::strip_meta().

Exceptions are caught better if they're not excpeted.

Props joemcgill.
See #33642.

git-svn-id: https://develop.svn.wordpress.org/trunk@36742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Schroder 2016-02-26 21:57:26 +00:00
parent 3d8cade8c8
commit be3ba15eec
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
$this->image->setImageProperty( 'Thumb::Image::Height', '' );
$this->image->setImageProperty( 'Thumb::Document::Pages', '' );
}
} catch ( Excpetion $e ) {
} catch ( Exception $e ) {
return new WP_Error( 'image_strip_meta_error', $e->getMessage() );
}