If object cache is enabled then plugin list does not get updated after a plugin is deleted
|Reported by:||ruslany||Owned by:|
I am using the object-cache.php file for WinCache(from here: http://ruslany.net/2010/03/make-wordpress-faster-on-iis-with-wincache-1-1/), but I beleive the same problem also repro's with object-cache.php for APC (from here: http://txfx.net/files/wordpress/apc-object-cache.phps).
If I enable the object cache and then try to delete any plugin, the plugin files get deleted from the file system, but the plugin list on the plugin page is never updated and it keeps showing the deleted plugin as if it is still installed.
This happens because the list of plugins gets added to the object cache but is never updated afterwards.
I am attaching a patch with a possible way to fix this, but I would be interested in the comments from WordPress cache developers who may have a better way of solving this.
Change History (4)
comment:1 peaceablewhale — 4 years ago
- Component changed from General to Plugins
- Keywords has-patch added; object cache removed