diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php index 0b0ea2f5d1..37f1466f16 100644 --- a/src/wp-includes/class-wp-image-editor-imagick.php +++ b/src/wp-includes/class-wp-image-editor-imagick.php @@ -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() ); }