Opened 9 years ago
Closed 9 years ago
#2861 closed enhancement (fixed)
Filtering of moderation and blacklist keys
Reported by: | satollo | Owned by: | netweb |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5.8 |
Component: | API - Moderation | Keywords: | has-patch |
Cc: |
Description
The proposed patch adds a filter to the blacklist and moderation keys used by bbpress which are the ones used by WordPress to check comments.
That filter lets external plugins to add/change the keys.
Attachments (7)
Change History (11)
#1
follow-up:
↓ 2
@
9 years ago
- Component changed from Component - Replies to API - Moderation
- Keywords needs-testing removed
- Milestone changed from Awaiting Review to 2.6
New patch adds appropriate filters and PHPDoc. Also cleans up bbp_check_for_moderation
to bring it in line with bbp_check_for_blacklist
which bails early on and empty blacklist keys.
#2
in reply to:
↑ 1
@
9 years ago
Replying to thebrandonallen:
New patch adds appropriate filters and PHPDoc. Also cleans up
bbp_check_for_moderation
to bring it in line withbbp_check_for_blacklist
which bails early on and empty blacklist keys.
It also bailed before the "Max Links" check, 2861.3.patch puts this before the moderation words bail check
#3
@
9 years ago
Yep. Missed that. New patch alters the changeset reference for the moderation filter back to rXXXX
instead of the r6049
, that slipped in on 2861.3.patch.
Patch to the includes/common/functions.php