Opened 13 years ago
Closed 12 years ago
#25772 closed defect (bug) (fixed)
Send back the original WP version after successful updates
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7.2 |
| Component: | Upgrade/Install | Version: | 3.7 |
| Severity: | normal | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 26016: