Here is what I’ve discovered:
When Object cache is enabled, WordPress does update_plugins ( and themes as well, but I will focus on plugins here ) on each load of admin panel.
reason:
_maybe_update_plugins() is getting the time of last plugin update using
get_site_transient( 'update_plugins' );
and here is what happens:
function get_site_transient( $transient ) {
...
if ( wp_using_ext_object_cache() ) { //Returns true when Obj. cache is enabled.</strong>
$value = wp_cache_get( $transient, 'site-transient' ); //DOES NOT RETURN PROPER RESULT!
...
Same thing happens to update_themes
-
This reply was modified 8 years ago by arseni. Reason: formatting