[wp-trac] [WordPress Trac] #25860: Copy version.php last during updates
WordPress Trac
noreply at wordpress.org
Thu Nov 7 07:41:02 UTC 2013
#25860: Copy version.php last during updates
-----------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Keywords: needs-patch
-----------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25860>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list