[wp-trac] [WordPress Trac] #26823: wp_get_image_editor->multi_resize()

WordPress Trac noreply at wordpress.org
Tue Jan 14 13:57:06 UTC 2014


#26823: wp_get_image_editor->multi_resize()
--------------------------+------------------------------
 Reporter:  pbearne       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Inline Docs   |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by markoheijnen):

 The only unit tests as what I remember are for
 {{{image_resize_dimensions()}}} and the resize stuff.

 We should not return errors in multi_resize() since this function is there
 specially for WordPress internal usage. The data is directly stored to the
 meta data. This is also the reason why the path of the image is being
 removed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26823#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list