Make WordPress Core

Opened 12 years ago

Last modified 7 years ago

#29260 new enhancement

Update site transients response differences

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

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

  • Component GeneralUpgrade/Install

#2 @nacin
12 years ago

  • Milestone Awaiting ReviewFuture Release
  • Version trunk2.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
11 years ago

  • Keywords needs-patch added

#4 @johnbillion
11 years ago

  • Priority normallowest
Note: See TracTickets for help on using tickets.