updated plugin W3 Total Cache version 2.5.0

This commit is contained in:
2023-10-22 22:21:26 +00:00
committed by Gitium
parent 2f6b5b6047
commit 9e3fa792d7
255 changed files with 10113 additions and 23010 deletions

View File

@ -25,7 +25,7 @@ class DbCache_Wpdb extends DbCache_WpdbBase {
if ( !$is_installing && $config->get_boolean( 'dbcache.enabled' ) ) {
$processors[] = new DbCache_WpdbInjection_QueryCaching();
}
if ( Util_Environment::is_dbcluster() ) {
if ( Util_Environment::is_dbcluster( $config ) ) {
// dbcluster use mysqli only since other is obsolete now
if ( !defined( 'WP_USE_EXT_MYSQL' ) ) {
define( 'WP_USE_EXT_MYSQL', false );