first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
/*
* Compatibility with W3 Total Cache: https://wordpress.org/plugins/w3-total-cache/
* Compatibility with A2 Fixed W3 Total Cache by a2hosting.com a plugin contains some bug fixes for W3 Total Cache ususally used only on a2hosting servers.
*/
class Brizy_Compatibilities_Wtc {
public function __construct() {
add_filter( 'wp_loaded', array( $this, 'action_disable_minify' ) );
}
public function action_disable_minify() {
if ( isset( $GLOBALS['_w3tc_ob_callbacks']['minify'] ) ) {
unset( $GLOBALS['_w3tc_ob_callbacks']['minify'] );
}
}
}