declare WordPress Multisite globals
authorChristian Wach <needle@haystack.co.uk>
Tue, 10 Nov 2015 10:07:07 +0000 (10:07 +0000)
committerChristian Wach <needle@haystack.co.uk>
Tue, 10 Nov 2015 10:07:07 +0000 (10:07 +0000)
CRM/Utils/System/WordPress.php

index 277eda2472d3989885452847ab6de044288b9300..b9ab97211038239c0db69b28507512e38e7ec8cd 100644 (file)
@@ -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) {