Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#3488 closed enhancement (fixed)

Fixing the banned user check in bp_get_group_join_button

Reported by: sbrajesh's profile sbrajesh Owned by:
Milestone: 1.5 Priority: normal
Severity: trivial Version: 1.5
Component: Groups Keywords: has-patch
Cc: sbrajesh

Description

bp_get_group_join_button uses bp_group_is_user_banned but does not passes the group as arguement to bp_group_is_user_banned.
It will work perfectly within the group loop but outsite the group loop the function bp_get_group_join_button will not work as expected.
here is a patch attached to fix.

Attachments (1)

group-join.patch (500 bytes) - added by sbrajesh 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
13 years ago

  • Milestone changed from Awaiting Review to 1.5

Good catch

#2 @djpaul
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4998]) Pass group to bp_group_is_user_banned() check. Fixes #3488, props sbrajesh

Note: See TracTickets for help on using tickets.