Only clear site cache when upgrading an active component #327
Comments
Example code I have used in the past to check if a plugin is active. $active_plugins = (is_multisite()) ? wp_get_active_network_plugins() : array();
$active_plugins = array_unique(array_merge($active_plugins, wp_get_active_and_valid_plugins()));
foreach($active_plugins as $active_plugin) // Search.
if(plugin_basename($active_plugin) === 'bbpress/bbpress.php')
return true; // bbPress active. |
raamdev
added a commit
to wpsharks/comet-cache-pro
that referenced
this issue
Sep 23, 2014
This was referenced Sep 23, 2014
I see you chose to use |
Next release changelog: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #145, Quick Cache hooked into
upgrader_process_complete
to auto-clear the site cache when a component was upgraded. However, it's not always necessary to clear the site cache when upgrading a component:The text was updated successfully, but these errors were encountered: