Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayadav09 committed Nov 12, 2024
1 parent 8a291c0 commit b5c74e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/HelpCenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function register_assets() {
);

/* Hide the helpcenter on onboarding flow */
\wp_localize_script( self::$slug, 'newfoldHelpCenter', array( 'closeOnLoad' => (isset( $_GET['page'] ) && 'nfd-onboarding' === sanitize_text_field( $_GET['page'] ) )) );
\wp_localize_script( self::$slug, 'newfoldHelpCenter', array( 'closeOnLoad' => ( isset( $_GET['page'] ) && 'nfd-onboarding' === sanitize_text_field( $_GET['page'] ) ) ) );

/* Remove values on log out */
$logout_listener_js = <<<JS
Expand Down

0 comments on commit b5c74e8

Please sign in to comment.