Skip to:
Content

BuddyPress.org

Changeset 1829 for trunk/bp-xprofile.php


Ignore:
Timestamp:
09/08/2009 09:20:41 PM (16 years ago)
Author:
apeatling
Message:

Replacing ABSPATH with WP_CONTENT_DIR in avatar upload folder creation to fix issues where WPMU is loaded from a sub directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r1813 r1829  
    10251025
    10261026    $path  = get_blog_option( BP_ROOT_BLOG, 'upload_path' );
    1027     $newdir = path_join( ABSPATH, $path );
     1027    $newdir = WP_CONTENT_DIR . str_replace( 'wp-content', '', $path );
    10281028    $newdir .= '/avatars/' . $user_id;
    10291029
Note: See TracChangeset for help on using the changeset viewer.