Skip to content

Commit

Permalink
Improved: make sure self-hosters are never redirected to the configur…
Browse files Browse the repository at this point in the history
…ation wizard.
  • Loading branch information
Dan0sz committed May 8, 2024
1 parent c19aec5 commit 93bc91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function maybe_redirect_to_wizard() {
return;
}

$wizard_done = get_option( 'plausible_analytics_wizard_done', false );
$wizard_done = get_option( 'plausible_analytics_wizard_done', false ) || ! empty( Helpers::get_settings()[ 'self_hosted_domain' ] );

if ( ! $wizard_done ) {
$url = admin_url( 'options-general.php?page=plausible_analytics#welcome_slide' );
Expand Down

0 comments on commit 93bc91b

Please sign in to comment.