Fix lint errors [MAILPOET-966]
This commit is contained in:
committed by
pavel-mailpoet
parent
605df7dff1
commit
5ca577a718
@@ -238,7 +238,7 @@ class Initializer {
|
|||||||
|
|
||||||
function handleFailedInitialization($message) {
|
function handleFailedInitialization($message) {
|
||||||
// Check if we are able to add pages at this point
|
// Check if we are able to add pages at this point
|
||||||
if (function_exists('wp_get_current_user')) {
|
if(function_exists('wp_get_current_user')) {
|
||||||
Menu::addErrorPage();
|
Menu::addErrorPage();
|
||||||
}
|
}
|
||||||
return WPNotice::displayError($message);
|
return WPNotice::displayError($message);
|
||||||
|
Reference in New Issue
Block a user