[buddypress-trac] [BuddyPress Trac] #6013: Allow Group Admins to Unban Members

buddypress-trac noreply at wordpress.org
Wed Dec 31 20:48:50 UTC 2014

#6013: Allow Group Admins to Unban Members
 Reporter:  skyrie            |       Owner:  DJPaul
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.2
Component:  Groups            |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by r-a-y):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"9292"]:
 #!CommitTicketReference repository="" revision="9292"
 bp-legacy: Show banned members when on a group's Manage Members page.

 Previously, we passed `exclude_banned=false` in a querystring.  This gets
 interpreted by `wp_parse_args() as string `false`.  Our `exclude_banned`
 check in `groups_get_group_members()` does not interpret string 'false'
 values, which led to banned members being excluded instead of included.

 This commit switches the querystring to `exclude_banned=0`, which
 `groups_get_group_members()` will interpret as a proper false value
 allowing banned members to be shown.

 Props thebigA.

 Fixes #6013.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6013#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list