updated plugin W3 Total Cache
version 2.7.0
This commit is contained in:
@ -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';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user