From 57608526c8c14710dbeb232d323462836a4a14c4 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 edfdad078b..c97e53c9b4 100644 --- a/CRM/Utils/SoapServer.php +++ b/CRM/Utils/SoapServer.php @@ -128,7 +128,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