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:
parent
3d8cade8c8
commit
be3ba15eec
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue