Now using get_bloginfo('url') to get the home site URL.
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 2 Jun 2015 16:03:15 +0000 (12:03 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 2 Jun 2015 16:03:15 +0000 (12:03 -0400)
defines.php

index 161c35e..569d8f6 100644 (file)
@@ -32,7 +32,7 @@ define('GLM_MEMBERS_PLUGIN_ADMIN_URL', $adminURL);
 define('GLM_MEMBERS_PLUGIN_URL', plugin_dir_url(__FILE__));
 $pageUri = explode('?', $_SERVER['REQUEST_URI']);               // Bust this up to access URL path and script name only
 define('GLM_MEMBERS_PLUGIN_BASE_URL', WP_PLUGIN_URL.'/'.GLM_MEMBERS_PLUGIN_DIR);
-define('GLM_MEMBERS_PLUGIN_CURRENT_URL', bloginfo('url').$pageUri[0]);
+define('GLM_MEMBERS_PLUGIN_CURRENT_URL', get_bloginfo('url').$pageUri[0]);
 define('GLM_MEMBERS_PLUGIN_MEDIA_URL', WP_CONTENT_URL.'/plugins/'.GLM_MEMBERS_PLUGIN_DIR.'/media');
 
 // Directories