Opened 3 years ago
Closed 3 years ago
#12268 closed defect (bug) (fixed)
image_resize() should fail consistently
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Media | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Currently, in all but one failure condition it returns a WP_Error object. It should return a WP_Error object when it fails to get the calculated dimensions, too.
And besides, the documentation is wrong.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.

Looks good to me.