Changeset 3141
- Timestamp:
- 07/21/2010 07:06:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-avatars.php
r3131 r3141 546 546 // If multisite, and current blog does not match root blog, make adjustments 547 547 if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id ) 548 $upload_dir['basedir'] = WP_CONTENT_DIR . '/blogs.dir/' . BP_ROOT_BLOG . '/files/';548 $upload_dir['basedir'] = get_blog_option( BP_ROOT_BLOG, 'upload_path' ); 549 549 550 550 return apply_filters( 'bp_core_avatar_upload_path', $upload_dir['basedir'] );
Note: See TracChangeset
for help on using the changeset viewer.