Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#31451 closed feature request (invalid)

Why are update_plugins a transient and active_plugins an option?

Reported by: azdv's profile AZdv Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

I think (unless I'm completely wrong here) that update_plugins should be in wp_options just like active_plugins.

Isn't that the right place for update_plugins ?

Change History (1)

#1 @rmccue
10 years ago

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

Hi AZdv, thanks for the report!

update_plugins is a cache of the latest response for the update check, so it's stored in transients as a cached value. active_plugins on the other hand stores which plugins are activated on the site, which is a preference, so it's stored as an option.

This is the correct behaviour as far as I can see. :)

Note: See TracTickets for help on using tickets.