Changeset 4632 for trunk/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 07/09/2011 09:45:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-functions.php
r4612 r4632 349 349 $directory = 'avatars'; 350 350 351 $path = BP_AVATAR_UPLOAD_PATH. '/avatars/' . $user_id;351 $path = bp_core_avatar_upload_path() . '/avatars/' . $user_id; 352 352 $newbdir = $path; 353 353 … … 355 355 @wp_mkdir_p( $path ); 356 356 357 $newurl = BP_AVATAR_URL. '/avatars/' . $user_id;357 $newurl = bp_core_avatar_url() . '/avatars/' . $user_id; 358 358 $newburl = $newurl; 359 359 $newsubdir = '/avatars/' . $user_id;
Note: See TracChangeset
for help on using the changeset viewer.