| @@ -105,9 +105,9 @@ | ||
| 105 | 105 | sort($wpo_query_variables); |
| 106 | 106 | |
| 107 | 107 | $config['wpo_cache_cookies'] = $wpo_cache_cookies; |
| 108 | 108 | $config['wpo_cache_query_variables'] = $wpo_query_variables; |
| 109 | - | |
| 109 | + | |
| 110 | 110 | $config = apply_filters('wpo_cache_update_config', $config); |
| 111 | 111 | |
| 112 | 112 | if (is_multisite()) { |
| 113 | 113 | update_site_option('wpo_cache_config', $config); |
| @@ -246,12 +246,13 @@ | ||
| 246 | 246 | 'timezone_string' => get_option('timezone_string'), |
| 247 | 247 | 'date_format' => get_option('date_format'), |
| 248 | 248 | 'time_format' => get_option('time_format'), |
| 249 | 249 | 'use_webp_images' => false, |
| 250 | - 'show_avatars' => 0, | |
| 251 | 250 | 'host_gravatars_locally' => 0, |
| 252 | 251 | 'auto_preload_purged_contents' => true, |
| 253 | 252 | 'enable_rest_caching' => false, |
| 253 | + 'last_cleared' => time(), | |
| 254 | + 'lcp_preload_enable' => false, | |
| 254 | 255 | ); |
| 255 | 256 | |
| 256 | 257 | return apply_filters('wpo_cache_defaults', $defaults); |
| 257 | 258 | } |