id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 1717,Use BP constants for xprofile_avatar_upload_dir,lunabyte,,"bp-xprofile.php: function xprofile_avatar_upload_dir(); $path is set with the constant BP_AVATAR_UPLOAD_PATH. $newurl then replaces WP_CONTENT_DIR with WP_CONTENT_URL. If BP_AVATAR_UPLOAD_PATH is not in the same path as WP_CONTENT_DIR, it throws avatars into chaos for everything from upload to display, and in between. Suggest $newurl be changed to honor BP defined constants as follows: $newurl = str_replace( BP_AVATAR_UPLOAD_PATH, BP_AVATAR_URL, $path ); Thus bringing the function inline with using the same set of constants.",defect (bug),closed,major,1.2,,,,no action required,"avatar, avatar path",