From 6ae5c381b452875138354b74654eafcafcd62339 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Tue, 30 Jun 2020 17:00:46 -0400 Subject: [PATCH] WP base page system check: skip multisite --- CRM/Utils/Check/Component/Cms.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/Utils/Check/Component/Cms.php b/CRM/Utils/Check/Component/Cms.php index 99cff8e16a..9b6869c132 100644 --- a/CRM/Utils/Check/Component/Cms.php +++ b/CRM/Utils/Check/Component/Cms.php @@ -27,6 +27,12 @@ class CRM_Utils_Check_Component_Cms extends CRM_Utils_Check_Component { if ($config->userFramework != 'WordPress') { return []; } + if (is_multisite()) { + // There are a lot potential configurations in a multisite context where + // this could show a false positive. This completely skips multisite for + // now. + return []; + } $messages = []; $slug = $config->wpBasePage; -- 2.25.1