Skip to content

Commit

Permalink
pass group_id through to the link function
Browse files Browse the repository at this point in the history
  • Loading branch information
commercial-hippie authored Nov 5, 2024
1 parent b3bbe9a commit f16e866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bp-groups/bp-groups-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4832,7 +4832,7 @@ function bb_groups_loop_members( $group_id = 0, $role = array( 'member', 'mod',
printf( wp_kses_post( _nx( '%s member', '%s members', $member_count, 'group member count', 'buddyboss' ) ), esc_html( number_format_i18n( $member_count ) ) );
?>
">
<a href="<?php echo esc_url( bp_get_group_permalink() . 'members' ); ?>">
<a href="<?php echo esc_url( bp_get_group_permalink( $group_id ) . 'members' ); ?>">
<span class="bb-icon-f bb-icon-ellipsis-h"></span>
</a>
</span>
Expand Down

0 comments on commit f16e866

Please sign in to comment.