Make WordPress Core

Opened 10 years ago

Last modified 6 years ago

#29260 new enhancement

Update site transients response differences

Reported by: krotz's profile krotz Owned by:
Milestone: Priority: lowest
Severity: normal Version: 2.8
Component: Upgrade/Install Keywords: needs-patch
Focuses: Cc:

Description

Why do the update_themes and update_plugins have a different response type, one is an stdObject another is a simple array.

That being said the plugin and theme upgrader have the same discordance. Please make them so they are consistent with one another.

Change History (4)

#1 @SergeyBiryukov
10 years ago

  • Component changed from General to Upgrade/Install

#2 @nacin
10 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Version changed from trunk to 2.8

This is indeed super annoying but I'm not sure we can change it very easily, without moving to some kind of update response object that implements ArrayAccess.

#3 @chriscct7
9 years ago

  • Keywords needs-patch added

#4 @johnbillion
9 years ago

  • Priority changed from normal to lowest
Note: See TracTickets for help on using tickets.