[wp-trac] [WordPress Trac] #12268: image_resize() should fail consistently
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 18 05:03:34 UTC 2010
#12268: image_resize() should fail consistently
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Media | Version: 3.0
Severity: normal | Keywords: has-patch image_resize
--------------------------+-------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12268>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list