mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -137,7 +137,7 @@ function wp_load_image( $file ) {
|
||||
$file = get_attached_file( $file );
|
||||
|
||||
if ( ! file_exists( $file ) )
|
||||
return sprintf(__("File '%s' doesn't exist?"), $file);
|
||||
return sprintf(__('File “%s” doesn’t exist?'), $file);
|
||||
|
||||
if ( ! function_exists('imagecreatefromstring') )
|
||||
return __('The GD image library is not installed.');
|
||||
@@ -147,7 +147,7 @@ function wp_load_image( $file ) {
|
||||
$image = imagecreatefromstring( file_get_contents( $file ) );
|
||||
|
||||
if ( !is_resource( $image ) )
|
||||
return sprintf(__("File '%s' is not an image."), $file);
|
||||
return sprintf(__('File “%s” is not an image.'), $file);
|
||||
|
||||
return $image;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user