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:
parent
87232d4f61
commit
95fc47be4f
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user