Opened 15 years ago
Closed 15 years ago
#984 closed defect (bug) (fixed)
redundant code in bp-friends-templatetags.php
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | trivial |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
function bp_get_friend_avatar_thumb() {
global $friends_template;
if ( !$template )
$template = &$friends_template->friendship->friend;
return apply_filters( 'bp_get_friend_avatar_thumb', $friends_template->friendship->friend->avatar_thumb );
}
I am assuming the $template stuff is old.
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [1937]) Fixes #984 props djpaul