Opened 11 years ago
Closed 11 years ago
#32365 closed defect (bug) (invalid)
get_core_updates() returns a duplicate with empty "current" and "version"
| Reported by: | aymanalzarrad | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upgrade/Install | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Looking at the update screen to update from 4.1.x to 4.2.x, it shows a duplicate update message and buttons (see screenshot) targeting the same version of the update.
Debugging the array returned by get_core_updates() show that both objects are the essentially the same with the difference that the second one has an empty "current" => "" and "version" => ""
Attachments (2)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello aymanalzarrad, thanks for your report.
This is because of a bug in WordPress 4.1 which prevents passing the 'version' and 'locale' POST vars through the Core Update FTP credentials form, see [31527]. We made an API change so users can update anyway, see ticket:31378:7, with the side effect that you get two update butons.