Opened 10 years ago
Closed 10 years ago
#32365 closed defect (bug) (invalid)
get_core_updates() returns a duplicate with empty "current" and "version"
Reported by: | aymanalzarrad | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.1 |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | Cc: |
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.
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.