[wp-trac] [WordPress Trac] #36942: put_contents doesn't unlink file on error

WordPress Trac noreply at wordpress.org
Wed May 25 17:50:43 UTC 2016


#36942: put_contents doesn't unlink file on error
----------------------------+-----------------------------
 Reporter:  ruud@…          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 similar to #34772, the put_contents method is also lacking the unlinking
 of the tempfile on error.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36942>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list