Media: Correct "Exception" typo in WP_Image_Editor_Imagick::strip_meta().
Exceptions are caught better if they're not excpeted. Props joemcgill. See #33642. Built from https://develop.svn.wordpress.org/trunk@36742 git-svn-id: http://core.svn.wordpress.org/trunk@36709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fd83d7eb9b
commit
f3afec6974
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta1-36741';
|
||||
$wp_version = '4.5-beta1-36742';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue