Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#4042 closed defect (bug) (fixed)

User Demotion Error in Groups

Reported by: davidtcarson Owned by:
Milestone: 1.6 Priority: normal
Severity: normal Version:
Component: Groups Keywords: has-patch
Cc:

Description

When managing members in the Group admin section, demoting a user from Group Admin or Mod doesn't appear to be working as expected.

Message displayed on screen is "There was an error when demoting that user, please try again" whenever I attempt to demote an admin or mod using BP Trunk r5833 and WP 3.3.1 with no modifications. And the actual demotion doesn't happen either.

Removing part of the conditional from the groups_demote_member function in bp-groups-functions seems to fix it.

Attachments (1)

4042_1.diff (454 bytes) - added by davidtcarson 10 years ago.
Remove part of conditional

Download all attachments as: .zip

Change History (3)

@davidtcarson
10 years ago

Remove part of conditional

#1 @DJPaul
10 years ago

  • Milestone changed from Awaiting Review to 1.6

This is a regression from r5689

#2 @djpaul
10 years ago

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

(In [5878]) Fix group member demotion. Fixes #4042, props davidtcarson

Note: See TracTickets for help on using tickets.