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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [1937]) Fixes #984 props djpaul