Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bp_user_link doesn’t work anymore?


rich! @ etiviti
Participant

@nuprn1

filed a ticket
https://trac.buddypress.org/ticket/2409

fat finger? – returning the logged in user instead of the displayed user

function bp_displayed_user_link() {
echo bp_get_loggedin_user_link();
}
function bp_user_link() { bp_displayed_user_link(); }

where both should be point to:

function bp_get_displayed_user_link() {
global $bp;

return apply_filters( ‘bp_get_displayed_user_link’, $bp->displayed_user->domain );
}

Skip to toolbar