[wp-trac] [WordPress Trac] #9922: wp_crop_image() and image_resize() are inconsistent. Both should return WP_Error objects on error.
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 23 18:39:34 UTC 2009
#9922: wp_crop_image() and image_resize() are inconsistent. Both should return
WP_Error objects on error.
-----------------------------+----------------------------------------------
Reporter: mdawaffe | Owner: westi
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.0
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch early |
-----------------------------+----------------------------------------------
Changes (by ryan):
* status: accepted => closed
* resolution: => fixed
Comment:
(In [12524]) Retunr WP_Error from wp_crop_image() and image_resize().
Props mdwaffe. fixes #9922
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9922#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list