diff --git a/wp-includes/class-wp-image-editor-imagick.php b/wp-includes/class-wp-image-editor-imagick.php index 7632cbb4ba..74ba793be7 100644 --- a/wp-includes/class-wp-image-editor-imagick.php +++ b/wp-includes/class-wp-image-editor-imagick.php @@ -376,8 +376,8 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor { */ if ( is_callable( array( $this->image, 'getImageAlphaChannel' ) ) && is_callable( array( $this->image, 'setImageAlphaChannel' ) ) - && defined( Imagick::ALPHACHANNEL_UNDEFINED ) - && defined( Imagick::ALPHACHANNEL_OPAQUE ) + && defined( 'Imagick::ALPHACHANNEL_UNDEFINED' ) + && defined( 'Imagick::ALPHACHANNEL_OPAQUE' ) ) { if ( $this->image->getImageAlphaChannel() === Imagick::ALPHACHANNEL_UNDEFINED ) { $this->image->setImageAlphaChannel( Imagick::ALPHACHANNEL_OPAQUE ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 32eaa1e31c..545ba5e447 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37191'; +$wp_version = '4.6-alpha-37192'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.