diff --git a/buddypress/groups/single/activity-list.php b/buddypress/groups/single/activity-list.php index b2f9f0d9..fc245bed 100644 --- a/buddypress/groups/single/activity-list.php +++ b/buddypress/groups/single/activity-list.php @@ -184,7 +184,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => $member->ID, - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/buddypress/groups/single/admin.php b/buddypress/groups/single/admin.php index 64ab4b43..7453a653 100755 --- a/buddypress/groups/single/admin.php +++ b/buddypress/groups/single/admin.php @@ -360,7 +360,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) @@ -408,7 +408,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) @@ -485,7 +485,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) @@ -585,7 +585,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => $GLOBALS['requests_template']->request->user_id, - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/buddypress/groups/single/members.php b/buddypress/groups/single/members.php index e0bb12bb..fc46c6eb 100755 --- a/buddypress/groups/single/members.php +++ b/buddypress/groups/single/members.php @@ -40,7 +40,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/buddypress/members/members-loop.php b/buddypress/members/members-loop.php index 2b86ba60..5cdb5b40 100755 --- a/buddypress/members/members-loop.php +++ b/buddypress/members/members-loop.php @@ -18,7 +18,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/buddypress/members/single/friends/requests.php b/buddypress/members/single/friends/requests.php index 6cdad93b..772734f4 100755 --- a/buddypress/members/single/friends/requests.php +++ b/buddypress/members/single/friends/requests.php @@ -13,7 +13,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/buddypress/members/single/member-home.php b/buddypress/members/single/member-home.php index 630f067c..9842e64c 100644 --- a/buddypress/members/single/member-home.php +++ b/buddypress/members/single/member-home.php @@ -55,7 +55,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => $friend_id, - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/buddypress/members/single/messages/messages-loop.php b/buddypress/members/single/messages/messages-loop.php index 2653fe44..3cfd1f13 100755 --- a/buddypress/members/single/messages/messages-loop.php +++ b/buddypress/members/single/messages/messages-loop.php @@ -25,7 +25,7 @@ $user_avatar = bp_core_fetch_avatar( array( 'item_id' => $messages_template->thread->last_sender_id, - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/lib/member-funcs.php b/lib/member-funcs.php index 958e92bd..99154ffe 100644 --- a/lib/member-funcs.php +++ b/lib/member-funcs.php @@ -119,7 +119,7 @@ function openlab_list_members() { $user_avatar = bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/lib/widgets/new-members.php b/lib/widgets/new-members.php index a09b5e7d..89cc4f5c 100644 --- a/lib/widgets/new-members.php +++ b/lib/widgets/new-members.php @@ -72,7 +72,7 @@ public function widget( $args, $instance ) { $user_avatar = bp_core_fetch_avatar( array( 'item_id' => $user_id, - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, ) diff --git a/lib/widgets/whos-online.php b/lib/widgets/whos-online.php index 1025e7f3..50b8e5cb 100644 --- a/lib/widgets/whos-online.php +++ b/lib/widgets/whos-online.php @@ -81,7 +81,7 @@ public function widget( $args, $instance ) { $user_avatar = bp_core_fetch_avatar( array( 'item_id' => $member->ID, - 'object' => 'member', + 'object' => 'user', 'type' => 'full', 'html' => false, )