Show warning only on plugins page

[PREMIUM-28]
This commit is contained in:
Pavel Dohnal
2017-08-29 11:22:39 +02:00
parent b74be8777a
commit c75b6bd7eb
3 changed files with 9 additions and 18 deletions

View File

@@ -83,7 +83,7 @@ class ServicesChecker {
array(),
'link2'
);
WPNotice::displayInlineWarning($error);
WPNotice::displayWarning($error);
}
return false;
} elseif($premium_key['state'] === Bridge::KEY_EXPIRING
@@ -98,7 +98,7 @@ class ServicesChecker {
array('target' => '_blank')
);
$error = sprintf($error, $date);
WPNotice::displayInlineWarning($error);
WPNotice::displayWarning($error);
}
return true;
} elseif($premium_key['state'] === Bridge::KEY_VALID) {