Skip to:
Content

BuddyPress.org

Changeset 2877


Ignore:
Timestamp:
03/26/2010 11:08:55 AM (16 years ago)
Author:
apeatling
Message:

Fixes avatar uploads if a custom folder is specified under misc settings in wp-admin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-avatars.php

    r2876 r2877  
    394394        if ( !$path = get_option( 'upload_path' ) )
    395395            $path = WP_CONTENT_DIR . '/uploads';
     396        else
     397            $path = ABSPATH . $path;
    396398    }
    397399
Note: See TracChangeset for help on using the changeset viewer.