Changeset 3052
- Timestamp:
- 06/14/2010 10:26:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-avatars.php
r3051 r3052 488 488 489 489 // 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 ) 491 491 $upload_dir['basedir'] = str_replace( $current_blog->blog_id, BP_ROOT_BLOG, BLOGUPLOADDIR ); 492 492 … … 510 510 511 511 // 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 ) 513 513 $upload_dir['baseurl'] = str_replace( get_blog_option( $current_blog->blog_id, 'home' ) , get_blog_option( BP_ROOT_BLOG, 'home' ), $upload_dir['baseurl'] ); 514 514
Note: See TracChangeset
for help on using the changeset viewer.