[wp-trac] [WordPress Trac] #25772: Send back the original WP version after successful updates
WordPress Trac
noreply at wordpress.org
Wed Oct 30 14:10:19 UTC 2013
#25772: Send back the original WP version after successful updates
-----------------------------+-------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7.2
Component: Upgrade/Install | Version: 3.7
Severity: normal | Keywords:
-----------------------------+-------------------
After an update, wp_version_check() is used to refresh the update
transient and some basic metrics. We were using the 'version' sent in
wp_version_check() to figure out what version the user tried to update
from. However, on a successful update, version.php is updated, so the
internal inclusion in wp_version_check() gets the newer data. Thus many
successes are showing up as successful 3.7.1 => 3.7.1 updates.
We should send back a 'reported' version in addition to 'attempted'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25772>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list