diff --git a/omnisend/includes/Internal/class-connection.php b/omnisend/includes/Internal/class-connection.php index ce5960b..967a2f3 100644 --- a/omnisend/includes/Internal/class-connection.php +++ b/omnisend/includes/Internal/class-connection.php @@ -28,7 +28,7 @@ public static function display(): void { return; } - if ( $response['platform'] !== '' && $response['platform'] !== 'WordPress' ) { + if ( $response['verified'] === true && $response['platform'] !== 'wordpress' ) { echo '

This Omnisend account is already connected to non-WordPress site. Log in to access it. Contact our support if you have other issues.

'; require_once __DIR__ . '/../../view/connection-form.html';