Multisite cache invalidation in 5.0.13
-
The change in
controllers/class-moove-gdpr-db-controller.phpwhere wp-admin doesn’t bypass caches anymore (row 109) broke things for multisite, since you don’t invalidate multisite caches properly (row 140).- if ( false === $option_cache || is_admin() ) :
+ if ( false === $option_cache ) :When using object caching, saving options in multisite, where site_id is >1 does save the options, but options are read from (now stale) cache, since invalidation doesn’t happen to the correct site_id.
wp_cache_delete( 'gdpr_cc_options_1' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.