[wp-trac] [WordPress Trac] #23325: wp_crop_image does not return WP_Error when save fails

WordPress Trac noreply at wordpress.org
Wed Jan 30 12:38:52 UTC 2013


#23325: wp_crop_image does not return WP_Error when save fails
-----------------------------+--------------------------
 Reporter:  macbrink         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Media
  Version:  3.5.1            |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+--------------------------
 wp_crop_image() assigns
 {{{
 $result = $editor->save( $dst_file );
 }}}
 but never actually tests/returns if $result is WP_Error

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23325>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list