Changeset 4632 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/09/2011 09:45:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r4611 r4632 424 424 $group_id = $bp->groups->current_group->id; 425 425 426 $path = BP_AVATAR_UPLOAD_PATH. '/group-avatars/' . $group_id;426 $path = bp_core_avatar_upload_path() . '/group-avatars/' . $group_id; 427 427 $newbdir = $path; 428 428 … … 430 430 @wp_mkdir_p( $path ); 431 431 432 $newurl = BP_AVATAR_URL. '/group-avatars/' . $group_id;432 $newurl = bp_core_avatar_url() . '/group-avatars/' . $group_id; 433 433 $newburl = $newurl; 434 434 $newsubdir = '/group-avatars/' . $group_id;
Note: See TracChangeset
for help on using the changeset viewer.