Skip to:
Content

bbPress.org

Opened 10 years ago

Closed 10 years ago

#2726 closed defect (bug) (fixed)

Bypass bbp_check_for_moderation for moderators

Reported by: netweb's profile netweb Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Moderation Keywords: has-patch
Cc:

Description (last modified by netweb)

It is pointless moderating moderators topics/replies that the moderator can self approve!

Related: #2546 bbpress skips check for number of links if blacklist is empty

Edit: Updated to only bypass bbp_check_for_moderation(), existing behaviour will apply for bbp_check_for_blacklist() where only keymasters can bypass the blacklist.

Attachments (1)

2726.diff (523 bytes) - added by netweb 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @netweb
10 years ago

  • Description modified (diff)
  • Summary changed from Bypass bbp_check_for_moderation and bbp_check_for_blacklist for moderators to Bypass bbp_check_for_moderation for moderators

@netweb
10 years ago

#2 @johnjamesjacoby
10 years ago

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

In 5853:

Moderation: reduce moderation restriction from keep-gate to moderate in bbp_check_for_moderation().

This changeset ensures that moderators are able to bypass the forum moderation, seeing as how they can self-approve topics & replies anyways.

Props netweb. Fixes #2726.

Note: See TracTickets for help on using tickets.