From a8a8e3d28c1d7029c5d784c5e5c0a23fe7b230e2 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Fri, 29 Jul 2016 15:04:06 -0400 Subject: [PATCH] CRM-19154 SOAP auth for WP - reprise of CRM-13007 ---------------------------------------- * CRM-19154: SOAP Authentication Fails on WP https://issues.civicrm.org/jira/browse/CRM-19154 * CRM-13007: SOAP authentication fails on WP with CCRM 4.3+ https://issues.civicrm.org/jira/browse/CRM-13007 --- CRM/Utils/SoapServer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/SoapServer.php b/CRM/Utils/SoapServer.php index 223f8f014d..2357d34dcb 100644 --- a/CRM/Utils/SoapServer.php +++ b/CRM/Utils/SoapServer.php @@ -117,7 +117,8 @@ class CRM_Utils_SoapServer { public function authenticate($name, $pass, $loadCMSBootstrap = FALSE) { require_once str_replace('_', DIRECTORY_SEPARATOR, $this->ufClass) . '.php'; - if ($this->ufClass == 'CRM_Utils_System_Joomla') { + if ($this->ufClass == 'CRM_Utils_System_Joomla' + || $this->ufClass == 'CRM_Utils_System_WordPress') { $loadCMSBootstrap = TRUE; } -- 2.25.1