From 05fcde76fca3151a6b0d097abdf776baa96b4697 Mon Sep 17 00:00:00 2001 From: Christian Wach Date: Tue, 10 Nov 2015 10:07:07 +0000 Subject: [PATCH] declare WordPress Multisite globals --- CRM/Utils/System/WordPress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/WordPress.php b/CRM/Utils/System/WordPress.php index 277eda2472..b9ab972110 100644 --- a/CRM/Utils/System/WordPress.php +++ b/CRM/Utils/System/WordPress.php @@ -336,7 +336,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @return bool */ public function loadBootStrap($name = NULL, $pass = NULL) { - global $wp, $wp_rewrite, $wp_the_query, $wp_query, $wpdb; + global $wp, $wp_rewrite, $wp_the_query, $wp_query, $wpdb, $current_site, $current_blog, $current_user; $cmsRootPath = $this->cmsRootPath(); if (!$cmsRootPath) { -- 2.25.1