Fix code style by updated ruleset

[MAILPOET-3912]
This commit is contained in:
Jan Lysý
2021-12-20 15:13:17 +01:00
committed by Veljko V
parent c0302d8284
commit 09c2ce653c
55 changed files with 201 additions and 133 deletions

View File

@@ -499,7 +499,8 @@ class Menu {
return false;
}
// Check if page already exists
if (get_plugin_page_hook($_REQUEST['page'], '')
if (
get_plugin_page_hook($_REQUEST['page'], '')
|| WPFunctions::get()->getPluginPageHook($_REQUEST['page'], self::MAIN_PAGE_SLUG)
) {
return false;