updated plugin W3 Total Cache
version 2.3.3
This commit is contained in:
@ -5,9 +5,19 @@ namespace W3TC;
|
||||
|
||||
class PgCache_Page extends Base_Page_Settings {
|
||||
static public function admin_print_scripts_w3tc_pgcache() {
|
||||
wp_enqueue_script( 'w3tc-options-validator',
|
||||
plugins_url( 'pub/js/options-validator.js', W3TC_FILE ),
|
||||
array(), W3TC_VERSION );
|
||||
wp_enqueue_script( 'w3tc-options-validator', plugins_url( 'pub/js/options-validator.js', W3TC_FILE ), array(), W3TC_VERSION );
|
||||
|
||||
wp_register_script( 'w3tc-pgcache-qsexempts', plugins_url( 'PgCache_Page_View.js', W3TC_FILE ), array(), W3TC_VERSION, true );
|
||||
|
||||
wp_localize_script(
|
||||
'w3tc-pgcache-qsexempts',
|
||||
'W3TCPgCacheQsExemptsData',
|
||||
array(
|
||||
'defaultQsExempts' => PgCache_QsExempts::get_qs_exempts(),
|
||||
)
|
||||
);
|
||||
|
||||
wp_enqueue_script( 'w3tc-pgcache-qsexempts' );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user