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

@ -111,6 +111,12 @@ class Extensions_Util {
$w3_config->set_extension_active_frontend( $extension, true );
}
// Check for Image Service extension status changes.
if ( 'imageservice' === $extension ) {
$w3_config->set( 'extension.imageservice', true );
}
// Save the config, unless told not to.
try {
if ( ! $dont_save_config ) {
$w3_config->save();
@ -150,6 +156,12 @@ class Extensions_Util {
$config->set_extension_active_frontend( $extension, false );
// Check for Image Service extension status changes.
if ( 'imageservice' === $extension ) {
$config->set( 'extension.imageservice', false );
}
// Save the config, unless told not to.
try {
if ( ! $dont_save_config ) {
$config->save();