Skip to content

Commit

Permalink
No need to test SELF_HOSTED_DOMAIN constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed May 1, 2024
1 parent e00d1e2 commit c19aec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public static function get_hosted_domain_url() {
$settings = self::get_settings();

if ( defined( 'PLAUSIBLE_SELF_HOSTED_DOMAIN' ) ) {
return esc_url( 'https://' . PLAUSIBLE_SELF_HOSTED_DOMAIN );
return esc_url( 'https://' . PLAUSIBLE_SELF_HOSTED_DOMAIN ); // @codeCoverageIgnore
}

if ( ! empty( $settings[ 'self_hosted_domain' ] ) ) {
Expand Down

0 comments on commit c19aec5

Please sign in to comment.