diff --git a/wire/core/MarkupQA.php b/wire/core/MarkupQA.php index 9a5f52bb..57f8d48b 100644 --- a/wire/core/MarkupQA.php +++ b/wire/core/MarkupQA.php @@ -1038,7 +1038,6 @@ class MarkupQA extends Wire { $path = null; if($this->isPagePathHooked()) { - $this->warning("page path is hooked"); $page = $pages->get($pageID); if($page->id) { if($language && $language->id) { diff --git a/wire/core/admin.php b/wire/core/admin.php index 81ea4849..54b3df4e 100644 --- a/wire/core/admin.php +++ b/wire/core/admin.php @@ -95,7 +95,7 @@ function _checkForTwoFactorAuth(Session $session) { */ function _checkForMaxInputVars(WireInput $input) { $max = (int) ini_get('max_input_vars'); - if($max && count($_POST) >= $max) { + if($max && count($_POST, COUNT_RECURSIVE) >= $max) { $input->error(sprintf(__('You have reached PHP’s “max_input_vars” setting of %d — please increase it.'), $max)); } } @@ -238,4 +238,3 @@ if($controller && $controller->isAjax()) { $session->removeNotices(); if($content) {} // ignore } -