Changeset 4602 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 07/04/2011 04:59:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r4462 r4602 642 642 643 643 // If multisite, and current blog does not match root blog, make adjustments 644 if ( is_multisite() && BP_ROOT_BLOG!= get_current_blog_id() )645 $basedir = get_blog_option( BP_ROOT_BLOG, 'upload_path' );644 if ( is_multisite() && bp_get_root_blog_id() != get_current_blog_id() ) 645 $basedir = get_blog_option( bp_get_root_blog_id(), 'upload_path' ); 646 646 } 647 647 … … 669 669 670 670 // If multisite, and current blog does not match root blog, make adjustments 671 if ( is_multisite() && BP_ROOT_BLOG!= get_current_blog_id() )672 $baseurl = trailingslashit( get_blog_option( BP_ROOT_BLOG, 'home' ) ) . get_blog_option( BP_ROOT_BLOG, 'upload_path' );671 if ( is_multisite() && bp_get_root_blog_id() != get_current_blog_id() ) 672 $baseurl = trailingslashit( get_blog_option( bp_get_root_blog_id(), 'home' ) ) . get_blog_option( bp_get_root_blog_id(), 'upload_path' ); 673 673 } 674 674
Note: See TracChangeset
for help on using the changeset viewer.