Changeset 22420 for trunk/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 11/07/2012 05:49:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-gd.php
r22119 r22420 147 147 } 148 148 149 return WP_Error( 'image_resize_error', __('Image resize failed.'), $this->file );149 return new WP_Error( 'image_resize_error', __('Image resize failed.'), $this->file ); 150 150 } 151 151 … … 223 223 } 224 224 225 return WP_Error( 'image_crop_error', __('Image crop failed.'), $this->file );225 return new WP_Error( 'image_crop_error', __('Image crop failed.'), $this->file ); 226 226 } 227 227 … … 247 247 } 248 248 } 249 return WP_Error( 'image_rotate_error', __('Image rotate failed.'), $this->file );249 return new WP_Error( 'image_rotate_error', __('Image rotate failed.'), $this->file ); 250 250 } 251 251 … … 274 274 } 275 275 } 276 return WP_Error( 'image_flip_error', __('Image flip failed.'), $this->file );276 return new WP_Error( 'image_flip_error', __('Image flip failed.'), $this->file ); 277 277 } 278 278
Note: See TracChangeset
for help on using the changeset viewer.