[ad_1]
Hi,
We’ve noticed that your plugin doesn’t remove the rediscache_discard_metrics event hook when it’s deactivated.
Please can you add a deactivation function such as …
register_deactivation_hook( __FILE__, 'redis_deactivate' );
function redis_deactivate() {
$timestamp = wp_next_scheduled( '<span style="font-family: inherit; font-size: 0.8rem;">rediscache_discard_metrics' );</span>
wp_unschedule_event( $timestamp, '<span style="font-family: inherit; font-size: 0.8rem;">rediscache_discard_metrics' );</span>
}Thank you.
Oliver
