Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/11/2011 06:02:47 PM (14 years ago)
Author:
boonebgorges
Message:

Audit of the use of ->blog_id to change to ->blogid where possible, to better account for switch_to_blog() use. Fixes #2984. Props wpmuguru

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cssjs.php

    r4027 r4107  
    3333
    3434function bp_core_confirmation_js() {
    35     global $current_blog;
     35    global $wpdb;
    3636
    37     if ( is_multisite() && $current_blog->blog_id != BP_ROOT_BLOG )
     37    if ( is_multisite() && $wpdb->blogid != BP_ROOT_BLOG )
    3838        return false;
    3939
Note: See TracChangeset for help on using the changeset viewer.