Skip to:
Content

BuddyPress.org

Changeset 2493 for trunk/bp-groups.php


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

Fixes upload dirs to use BP constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r2471 r2493  
    18491849        @wp_mkdir_p( $path );
    18501850
    1851     $newurl = str_replace( WP_CONTENT_DIR, WP_CONTENT_URL, $path );
     1851    $newurl = str_replace( BP_AVATAR_UPLOAD_PATH, BP_AVATAR_URL, $path );
    18521852    $newburl = $newurl;
    18531853    $newsubdir = '/group-avatars/' . $group_id;
Note: See TracChangeset for help on using the changeset viewer.