From: Christian Wach Date: Tue, 10 Nov 2015 10:07:07 +0000 (+0000) Subject: declare WordPress Multisite globals X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=05fcde76fca3151a6b0d097abdf776baa96b4697;p=civicrm-core.git declare WordPress Multisite globals --- 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) {