[wp-trac] [WordPress Trac] #7331: Plugin caching prevents detection of newly installed plugins

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 17 09:21:44 GMT 2008


#7331: Plugin caching prevents detection of newly installed plugins
----------------------------+-----------------------------------------------
 Reporter:  Murmatron 2     |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.7      
Component:  Administration  |     Version:  2.6      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Use of wp_cache_get/wp_cache_set in get_plugins in /wp-
 admin/includes/plugin.php prevents a newly installed plugin from being
 detected until object cache is purged.

 By the same mechanism, a plugin directory that has been manually zapped
 from the filesystem is shown as a recently deactivated plugin.

 There's no obvious criterion for invalidating the cached object since it's
 created from a filesystem scan and actively prevents another one
 occurring.

 Perhaps something like a "Scan disk for new/deleted plugins" button on the
 admin page that deletes the plugins cache would be a solution worth
 considering.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7331>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list