| @@ -58,11 +58,11 @@ | ||
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * Daily routine. Delegates to the existing usage/insights pipeline, which | |
| 63 | - * remains fully consent-gated (it no-ops unless the site has opted in to | |
| 64 | - * tracking) — this only guarantees the once-per-day sync actually fires. | |
| 62 | + * Daily routine. Delegates to the existing usage/insights pipeline — this | |
| 63 | + * only guarantees the once-per-day sync actually fires; the pipeline | |
| 64 | + * itself decides whether there is anything to send. | |
| 65 | 65 | * |
| 66 | 66 | * @return void |
| 67 | 67 | */ |
| 68 | 68 | public function run() { |
| @@ -73,9 +73,10 @@ | ||
| 73 | 73 | $insights = PluginInsights::get_instance( NOTIFICATIONX_FILE ); |
| 74 | 74 | |
| 75 | 75 | if ( method_exists( $insights, 'do_tracking' ) ) { |
| 76 | 76 | // force = true so the daily schedule reliably attempts the sync; |
| 77 | - // do_tracking() still honors opt-in/opt-out and NX_DEBUG internally. | |
| 77 | + // do_tracking() still honors the programmatic opt-out and NX_DEBUG | |
| 78 | + // internally. | |
| 78 | 79 | $insights->do_tracking( true ); |
| 79 | 80 | } |
| 80 | 81 | } |
| 81 | 82 | |