updated plugin W3 Total Cache
version 2.6.1
This commit is contained in:
@ -254,6 +254,28 @@ class Generic_Plugin {
|
||||
),
|
||||
);
|
||||
|
||||
// Add menu item to flush all cached except Bunny CDN.
|
||||
if (
|
||||
0 && // @todo Revisit this item.
|
||||
Cdn_BunnyCdn_Page::is_active() && (
|
||||
$modules->can_empty_memcache()
|
||||
|| $modules->can_empty_opcode()
|
||||
|| $modules->can_empty_file()
|
||||
|| $modules->can_empty_varnish()
|
||||
)
|
||||
) {
|
||||
$menu_items['10012.generic'] = array(
|
||||
'id' => 'w3tc_flush_all_except_bunnycdn',
|
||||
'parent' => 'w3tc',
|
||||
'title' => __( 'Purge All Caches Except Bunny CDN', 'w3-total-cache' ),
|
||||
'href' => wp_nonce_url(
|
||||
network_admin_url( 'admin.php?page=w3tc_dashboard&w3tc_bunnycdn_flush_all_except_bunnycdn' ),
|
||||
'w3tc'
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
// Add menu item to flush all cached except Cloudflare.
|
||||
if (
|
||||
! empty( $this->_config->get_string( array( 'cloudflare', 'email' ) ) )
|
||||
&& ! empty( $this->_config->get_string( array( 'cloudflare', 'key' ) ) )
|
||||
@ -523,6 +545,7 @@ class Generic_Plugin {
|
||||
array(
|
||||
'swarmify',
|
||||
'lazyload',
|
||||
'deferscripts',
|
||||
'minify',
|
||||
'newrelic',
|
||||
'cdn',
|
||||
|
Reference in New Issue
Block a user