Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/31/2010 01:48:19 PM (16 years ago)
Author:
apeatling
Message:

Fixes upload dirs to use BP constants.

File:
1 edited

Legend:

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

    r2481 r2493  
    261261        @wp_mkdir_p( $path );
    262262
    263     $newurl = str_replace( WP_CONTENT_DIR, WP_CONTENT_URL, $path );
     263    $newurl = str_replace( BP_AVATAR_UPLOAD_PATH, BP_AVATAR_URL, $path );
    264264    $newburl = $newurl;
    265265    $newsubdir = '/avatars/signups/' . $bp->signup->avatar_dir;
Note: See TracChangeset for help on using the changeset viewer.