We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebcbcbc commit dfcfdbeCopy full SHA for dfcfdbe
includes/Services/StatusService.php
@@ -186,7 +186,7 @@ public static function track(): void {
186
}
187
188
// Ignore if the request is not for the onboarding page.
189
- if ( isset( $_GET['page'] ) && WP_Admin::$slug === \sanitize_text_field( $_GET['page'] ) ) {
+ if ( isset( $_GET['page'] ) && \sanitize_text_field( $_GET['page'] ) === WP_Admin::$slug ) {
190
return;
191
192
@@ -201,7 +201,7 @@ public static function track(): void {
201
*/
202
public static function save_site_info(): void {
203
$site_info = array();
204
-
+
205
// Get experience level and site type from ReduxStateService
206
$data = ReduxStateService::get( 'input' );
207
$site_info['experience_level'] = $data['experienceLevel'] ?? 3;
0 commit comments