[wp-trac] [WordPress Trac] #19118: Incorrect WP_Error in image_resize

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 3 01:10:20 UTC 2012


#19118: Incorrect WP_Error in image_resize
------------------------------------------+------------------------------
 Reporter:  mzaweb                        |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Media                         |     Version:  3.2.1
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch close dev-feedback  |
------------------------------------------+------------------------------
Changes (by markoheijnen):

 * keywords:  has-patch => has-patch close dev-feedback


Comment:

 The error is intended. You want to resize an image and if that doesn't
 happend you want an error.
 Returning $file implies that the file did got resized.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19118#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list