updated plugin W3 Total Cache version 2.7.0

This commit is contained in:
2024-03-28 09:40:06 +00:00
committed by Gitium
parent 60de585044
commit 218272bbcb
140 changed files with 3054 additions and 3013 deletions

View File

@ -58,7 +58,7 @@ class UserExperience_DeferScripts_Extension {
add_filter( 'w3tc_minify_js_script_tags', array( $this, 'w3tc_minify_js_script_tags' ) );
add_filter( 'w3tc_save_options', array( $this, 'w3tc_save_options' ) );
add_action( 'w3tc_userexperience_page', array( $this, 'w3tc_userexperience_page' ) );
add_action( 'w3tc_userexperience_page', array( $this, 'w3tc_userexperience_page' ), 11 );
/**
* This filter is documented in Generic_AdminActions_Default.php under the read_request method.
@ -233,7 +233,7 @@ class UserExperience_DeferScripts_Extension {
* @return void
*/
public function w3tc_userexperience_page() {
if ( Util_Environment::is_w3tc_pro( $this->config ) ) {
if ( self::is_enabled() ) {
include __DIR__ . '/UserExperience_DeferScripts_Page_View.php';
}
}