Skip to content

Commit

Permalink
PHPDoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed May 8, 2024
1 parent 93bc91b commit 421fb25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Admin/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function maybe_redirect_to_wizard() {
return;
}

// Self-hosters should never be redirected to the settings screen, because the wizard isn't shown to them.
$wizard_done = get_option( 'plausible_analytics_wizard_done', false ) || ! empty( Helpers::get_settings()[ 'self_hosted_domain' ] );

if ( ! $wizard_done ) {
Expand Down

0 comments on commit 421fb25

Please sign in to comment.