Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#984 closed defect (bug) (fixed)

redundant code in bp-friends-templatetags.php

Reported by: DJPaul Owned by:
Priority: trivial Milestone: 1.1
Component: Version:
Severity: 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
17 years ago

  • Type enhancementdefect

#2 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [1937]) Fixes #984 props djpaul

Note: See TracTickets for help on using tickets.