[wp-trac] [WordPress Trac] #42963: Improve deletion of $_old_files during upgrades
WordPress Trac
noreply at wordpress.org
Fri Dec 22 04:58:54 UTC 2017
#42963: Improve deletion of $_old_files during upgrades
-----------------------------+-----------------
Reporter: joemcgill | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Upgrade/Install | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------
While testing upgrades for #42720, it occurred to me that if the upgrade
process failed to delete old files, we were potentially leaving rather
large files behind to clutter up the file system. To avoid this scenario,
we could attempt to empty the contents of old files if they still exist
after unsuccessfully deleting them during an upgrade routine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42963>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list