[wp-trac] [WordPress Trac] #22824: multi_resize can cause fatal if individual _save(s) fail

WordPress Trac noreply at wordpress.org
Sat Dec 8 20:01:20 UTC 2012


#22824: multi_resize can cause fatal if individual _save(s) fail
--------------------------+--------------------
 Reporter:  dh-shredder   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by dh-shredder):

 * cc: dh-shredder (added)


Comment:

 We could also get rid of the `&& $resized`, since we're guaranteed to
 receive either an array or `WP_Error` from `_save()` in both classes, but
 left it the way it was to avoid additional logic churn.

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


More information about the wp-trac mailing list