Skip to content

Commit

Permalink
Fix object parameter passed to bp_core_fetch_avatar().
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Jul 12, 2024
1 parent cbca722 commit 4c178ba
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion buddypress/groups/single/activity-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
$user_avatar = bp_core_fetch_avatar(
array(
'item_id' => $member->ID,
'object' => 'member',
'object' => 'user',
'type' => 'full',
'html' => false,
)
Expand Down
8 changes: 4 additions & 4 deletions buddypress/groups/single/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion buddypress/groups/single/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion buddypress/members/members-loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion buddypress/members/single/friends/requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion buddypress/members/single/member-home.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
$user_avatar = bp_core_fetch_avatar(
array(
'item_id' => $friend_id,
'object' => 'member',
'object' => 'user',
'type' => 'full',
'html' => false,
)
Expand Down
2 changes: 1 addition & 1 deletion buddypress/members/single/messages/messages-loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion lib/member-funcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/new-members.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/whos-online.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 4c178ba

Please sign in to comment.