Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3488 closed enhancement (fixed)

Fixing the banned user check in bp_get_group_join_button

Reported by: sbrajesh Owned by:
Priority: normal Milestone: 1.5
Component: Groups Version: 1.5
Severity: trivial 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 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
15 years ago

  • Milestone Awaiting Review1.5

Good catch

#2 @djpaul
15 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.