@@ -125,6 +125,17 @@ function wpsc_init() {
125125global $ wp_cache_mobile , $ wp_cache_mobile_enabled , $ wp_cache_mobile_browsers , $ wp_cache_mobile_prefixes ;
126126global $ wp_cache_config_file , $ wp_cache_config_file_sample ;
127127
128+ // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
129+ global $ wpsc_advanced_cache_filename , $ wpsc_advanced_cache_dist_filename ;
130+ global $ wp_cache_phase1_loaded , $ blog_cache_dir , $ wp_supercache_304 , $ wp_cache_mfunc_enabled ;
131+ global $ wp_cache_front_page_checks , $ wpsc_save_headers , $ is_nginx , $ wpsc_promo_links ;
132+ global $ wp_cache_disable_utf8 , $ wp_cache_not_logged_in , $ wp_cache_make_known_anon ;
133+ global $ wpsc_tracking_parameters , $ wpsc_rejected_cookies , $ cache_rejected_uri ;
134+ global $ cache_acceptable_files , $ wp_super_cache_comments ;
135+ global $ wp_super_cache_front_page_check , $ wp_super_cache_front_page_clear ;
136+ global $ wp_super_cache_front_page_text , $ wp_super_cache_front_page_notification ;
137+ global $ wpsc_plugins , $ wpsc_cookies , $ wpsc_version , $ wp_cache_clear_on_post_edit ;
138+ // phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
128139// Check is cache config already loaded.
129140if ( ! isset ( $ cache_enabled , $ super_cache_enabled , $ wp_cache_mod_rewrite , $ cache_path ) &&
130141 empty ( $ wp_cache_phase1_loaded ) &&
0 commit comments