PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.3
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.3
1.3.3 1.3.2 1.3.1 1.3.0 1.2.4 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 All 29 releases
← All changes | includes/class-onboarding.php +5 -2 1.1.71.3.3 View file →
@@ -233,9 +233,9 @@
233 233 'gzip_enabled' => ! empty( $gzip['gzip_enabled'] ),
234 234 'lazy_images' => ! empty( $lazy['lazy_images'] ),
235 235 'browser_cache' => ! empty( $browser['enabled'] ),
236 236 'resource_hints' => ! empty( $hints['enabled'] ),
237 - 'cache_expiry' => isset( $cache['cache_expiry'] ) ? absint( $cache['cache_expiry'] ) : 24,
237 + 'cache_expiry' => isset( $cache['cache_expiry'] ) ? absint( $cache['cache_expiry'] ) : \XSpeed\Modules\Cache\CacheModule::DEFAULT_EXPIRY_HOURS,
238 238 );
239 239 }
240 240
241 241 /**
@@ -370,8 +370,12 @@
370 370 // Opt-in usage analytics. Only acted on when the key is present in the
371 371 // payload (legacy onboarding-complete sites are left untouched). The
372 372 // consent toggle defaults OFF in the wizard, so the common path is
373 373 // usage_tracking=false → tracker stays dormant, no outbound HTTP.
374 + // (True since #437; before that the toggle shipped pre-checked and
375 + // this comment described an intent the UI did not implement. The
376 + // same consent is now also writable from Settings → Privacy & usage
377 + // data, via PrivacyModule, which routes through the same opt_in().)
374 378 if ( array_key_exists( 'usage_tracking', $params ) ) {
375 379 $tracker = Plugin::instance()->usage_tracker();
376 380 if ( $tracker ) {
377 381 $tracker->opt_in( ! empty( $params['usage_tracking'] ) );
@@ -378,9 +382,8 @@
378 382 }
379 383 }
380 384
381 385 $install_state = Cache::toggle( $want_cache );
382 - Settings::update( array( 'cache_enabled' => $install_state['enabled'] ) );
383 386
384 387 // Recompute the unified nginx block AFTER cache_enabled is persisted.
385 388 // Cache::toggle() computes it inline, before the Settings::update()
386 389 // above writes cache_enabled — so the block in $install_state reflects