[wp-trac] [WordPress Trac] #34772: get_contents won't unlink tempfile when ftp_fget returns false
WordPress Trac
noreply at wordpress.org
Wed Nov 25 08:42:29 UTC 2015
#34772: get_contents won't unlink tempfile when ftp_fget returns false
-------------------------------------------+-----------------------------
Reporter: ruud@… | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Filesystem API | Version: 4.3.1
Severity: normal | Resolution:
Keywords: has-patch commit dev-feedback | Focuses:
-------------------------------------------+-----------------------------
Comment (by ruud@…):
come to think of it: using timestamps does/may get you into weird stuff
when changing server time settings etc. But we could prevent that kind of
stuff to do a second round of checks for file existance with the current
way, just enumerating to get to a unique filename on top of a timestamp
based filename.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34772#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list