Opened 11 years ago
Closed 11 years ago
#25772 closed defect (bug) (fixed)
Send back the original WP version after successful updates
Reported by: | nacin | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.7.2 | Priority: | normal |
Severity: | normal | Version: | 3.7 |
Component: | Upgrade/Install | Keywords: | has-patch commit fixed-major |
Focuses: | Cc: |
Description
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'.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
In 26016: