Skip to:
Content

BuddyPress.org

Ticket #963: bp-groups-templatetags.php

File bp-groups-templatetags.php, 1.1 KB (added by johnjamesjacoby, 15 years ago)

bp-groups-templatetags.php avatar thumb fix

Line 
1Index: bp-groups-templatetags.php
2===================================================================
3--- bp-groups-templatetags.php  (revision 1772)
4+++ bp-groups-templatetags.php  (working copy)
5@@ -1418,7 +1418,7 @@
6        function bp_get_group_member_avatar() {
7                global $members_template;
8 
9-               return apply_filters( 'bp_get_group_member_avatar', bp_core_fetch_avatar( array( 'item_id' => $members_template->member->user_id, 'type' => 'thumb' ) ) );
10+               return apply_filters( 'bp_get_group_member_avatar', bp_core_fetch_avatar( array( 'item_id' => $members_template->member->user_id, 'type' => 'full' ) ) );
11        }
12 
13 function bp_group_member_avatar_thumb() {
14@@ -1427,7 +1427,7 @@
15        function bp_get_group_member_avatar_thumb() {
16                global $members_template;
17 
18-               return apply_filters( 'bp_get_group_member_avatar_thumb', bp_core_fetch_avatar( array( 'item_id' => $members_template->member->user_id, 'type' => 'full' ) ) );
19+               return apply_filters( 'bp_get_group_member_avatar_thumb', bp_core_fetch_avatar( array( 'item_id' => $members_template->member->user_id, 'type' => 'thumb' ) ) );
20        }
21 
22 function bp_group_member_avatar_mini( $width = 30, $height = 30 ) {