#25860 closed defect (bug) (fixed)
Copy version.php last during updates
Reported by: | dd32 | Owned by: | dd32 |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
Sometimes when updating, the process fails mid-way due to circumstances out of our control.
In some cases, version.php
may be copied before the error occurs, when this happens WordPress believes that it's $new_version
rather than the previous version.
We should instead, only copy version.php
over last, so as to ensure that we don't end up in that situation.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
I agree with this, let's do it.