WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 4 months ago

#29260 new enhancement

Update site transients response differences

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

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
5 years ago

  • Component changed from General to Upgrade/Install

#2 @nacin
5 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
4 years ago

  • Keywords needs-patch added

#4 @johnbillion
4 years ago

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