From f3afec6974b29cc7e2204c67e2cad85e0aa8f9b7 Mon Sep 17 00:00:00 2001 From: Mike Schroder Date: Fri, 26 Feb 2016 21:58:26 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-image-editor-imagick.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-image-editor-imagick.php b/wp-includes/class-wp-image-editor-imagick.php index 0b0ea2f5d1..37f1466f16 100644 --- a/wp-includes/class-wp-image-editor-imagick.php +++ b/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() ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 95b826841d..621429b98a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.