Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#32365 closed defect (bug) (invalid)

get_core_updates() returns a duplicate with empty "current" and "version"

Reported by: aymanalzarrad's profile aymanalzarrad Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.1
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:


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)

screenshot_update.png (28.5 KB) - added by aymanalzarrad 9 years ago.
update.diff (520 bytes) - added by aymanalzarrad 9 years ago.

Download all attachments as: .zip

Change History (4)

9 years ago

#1 @aymanalzarrad
9 years ago

  • Keywords has-patch added

#2 @ocean90
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from 4.2.2 to 4.1

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.

Note: See TracTickets for help on using tickets.