Skip to:
Content

BuddyPress.org

Changeset 3052


Ignore:
Timestamp:
06/14/2010 10:26:16 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Use bp_core_is_multisite instead of is_multisite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-avatars.php

    r3051 r3052  
    488488
    489489    // If multisite, and current blog does not match root blog, make adjustments
    490     if ( is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id )
     490    if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id )
    491491        $upload_dir['basedir'] = str_replace( $current_blog->blog_id, BP_ROOT_BLOG, BLOGUPLOADDIR );
    492492
     
    510510
    511511    // If multisite, and current blog does not match root blog, make adjustments
    512     if ( is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id )
     512    if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id )
    513513        $upload_dir['baseurl'] = str_replace( get_blog_option( $current_blog->blog_id, 'home' ) , get_blog_option( BP_ROOT_BLOG, 'home' ), $upload_dir['baseurl'] );
    514514
Note: See TracChangeset for help on using the changeset viewer.