Changeset 22538 for trunk/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 11/10/2012 08:42:27 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-gd.php
r22510 r22538 52 52 return true; 53 53 54 if ( ! is_file( $this->file ) )54 if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) ) 55 55 return new WP_Error( 'error_loading_image', __('File doesn’t exist?'), $this->file ); 56 56
Note: See TracChangeset
for help on using the changeset viewer.