Image Editing does not handle failures gracefully
|Reported by:||westi||Owned by:||azaozz|
The Image Editing tools in the admin do not handle failures gracefully.
For example if loading an image / rotating and image fails and returns a failure instead of an image you end up with a spinning wheel of failure.
- Upload an image
- Choose to edit it to get to the crop, rotate, resize options.
- Edit 'stream_preview_image' in 'wp-admin/includes/image-edit.php' to always return false.
- Now try an rotation. Notice the spinner never stops spinning.