Image Editor: Merge two error strings.

Props pavelevap.
See #22623.

git-svn-id: https://develop.svn.wordpress.org/trunk@34841 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-10-05 22:39:37 +00:00
parent 87232d4f61
commit 95fc47be4f
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
$size = $this->image->getImageGeometry();
}
catch ( Exception $e ) {
return new WP_Error( 'invalid_image', __('Could not read image size'), $this->file );
return new WP_Error( 'invalid_image', __( 'Could not read image size.' ), $this->file );
}
}