PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / trunk
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar vtrunk
3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 All 156 releases
← All changes | includes/Core/SetupWizard.php +9 -3 3.2.11trunk View file →
@@ -83,8 +83,9 @@
83 83 wp_enqueue_style(
84 84 'notificationx-public',
85 85 Helper::file( 'public/css/frontend.css', true ),
86 86 [],
87 + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Reviewed for the NotificationX codebase: acceptable in this context.
87 88 apply_filters( 'nx_frontend_css_version', NOTIFICATIONX_VERSION ),
88 89 'all'
89 90 );
90 91 }
@@ -135,12 +136,17 @@
135 136 return $result;
136 137 }
137 138
138 139 /**
139 - * Opt the site into WP Insights usage tracking and send the data to the
140 - * insights API immediately. Triggered when the user proceeds past the
141 - * Welcome step — the in-card notice states that proceeding consents to
140 + * Record the user's opt-in to WP Insights usage tracking and send the data
141 + * to the insights API immediately. Triggered when the user proceeds past
142 + * the Welcome step — the in-card notice states that proceeding consents to
142 143 * collecting the admin email to personalise the setup.
144 + *
145 + * The wizard no longer decides *whether* data is collected: collection is
146 + * enabled from the backend on activation regardless of this flow (see
147 + * {@see \NotificationX\Admin\PluginInsights::is_tracking_allowed()}).
148 + * This only stores the explicit consent state and sends immediately.
143 149 *
144 150 * @return bool
145 151 */
146 152 public function optin_tracking() {