Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#984 closed defect (bug) (fixed)

redundant code in bp-friends-templatetags.php

Reported by: djpaul's profile 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)

#1 @apeatling
15 years ago

  • Type changed from enhancement to defect

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1937]) Fixes #984 props djpaul

Note: See TracTickets for help on using tickets.