[wp-trac] [WordPress Trac] #36941: media_sideload_image doesn't unlink tempfile on success

WordPress Trac noreply at wordpress.org
Sun Jun 26 10:41:39 UTC 2016


#36941: media_sideload_image doesn't unlink tempfile on success
-------------------------------------+-----------------------
 Reporter:  ruud@…                   |       Owner:  dd32
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.6
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------
Changes (by dd32):

 * keywords:  has-patch dev-feedback => has-patch needs-testing
 * owner:   => dd32
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.6


Comment:

 This patch looks correct at first glance, but I'll need to test that
 removing the temporary file here is not going to affect behaviour
 incorrectly somewhere.

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


More information about the wp-trac mailing list