Skip to:
Content

BuddyPress.org

Changeset 1011


Ignore:
Timestamp:
01/30/2009 10:39:02 PM (13 years ago)
Author:
apeatling
Message:

Fixing avatar editing for users where the correct upload directory was not being set on avatar editing. Fixes #425. Thanks to geordee for spotting this one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r967 r1011  
    229229
    230230    $path  = get_blog_option( 1, 'upload_path' );
    231     $newdir = ABSPATH;
     231    $newdir = path_join( ABSPATH, $path );
    232232    $newdir .= '/avatars/' . $user_id;
    233233
Note: See TracChangeset for help on using the changeset viewer.