Changeset 4107 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 03/11/2011 06:02:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r4088 r4107 169 169 */ 170 170 function bp_core_get_root_domain() { 171 global $ current_blog;171 global $wpdb; 172 172 173 173 if ( defined( 'BP_ENABLE_MULTIBLOG' ) ) 174 $domain = get_home_url( $ current_blog->blog_id );174 $domain = get_home_url( $wpdb->blogid ); 175 175 else 176 176 $domain = get_home_url( BP_ROOT_BLOG );
Note: See TracChangeset
for help on using the changeset viewer.