updated plugin W3 Total Cache version 2.6.1

This commit is contained in:
2023-12-08 23:23:32 +00:00
committed by Gitium
parent fa428d9da9
commit 33d18af972
82 changed files with 5759 additions and 1701 deletions

View File

@ -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',