[wp-trac] [WordPress Trac] #43255: WP_Image_Editor::make_image leaves an output buffer open on failure

WordPress Trac noreply at wordpress.org
Sun Feb 11 16:24:07 UTC 2018


#43255: WP_Image_Editor::make_image leaves an output buffer open on failure
--------------------------------------+-------------------------
 Reporter:  gnif                      |       Owner:  dhanendran
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.9.5
Component:  Media                     |     Version:  3.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42695"]:
 {{{
 #!CommitTicketReference repository="" revision="42695"
 Media: In `WP_Image_Editor::make_image()`, close previously opened output
 buffer if the file could not be created.

 Props dhanendran, gnif.
 Fixes #43255.
 }}}

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


More information about the wp-trac mailing list