[wp-trac] [WordPress Trac] #31451: Why are update_plugins a transient and active_plugins an option?

WordPress Trac noreply at wordpress.org
Thu Feb 26 05:49:19 UTC 2015


#31451: Why are update_plugins a transient and active_plugins an option?
-----------------------------+----------------------
 Reporter:  AZdv             |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+----------------------
Changes (by rmccue):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 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. :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31451#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list