| @@ -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'] ) ); |