在主题的functions.php中加入下面代码:

function goldposter_bp_avatar_upload_url_correct($url){
$url = “http://www.goldposter.com/img”;
return $url;
}
add_filter(‘bp_core_avatar_url’, ‘goldposter_bp_avatar_upload_url_correct’, 1);

会员评论