Skip to:

Profanity Filter Driving Me Nuts

  • mikemiafl


    My users get the message “You Have Posted An Inappropriate Word” when trying to post comments, sometimes for the most innocuous words. I do not have a comment filter, posts are not affected, only the comments. I can find references to this issue dating back to 2016. A user on my site for example couldn’t reply to someone named “Gayle”, because this was flagged. I’m running into this again and it’s totally confusing the user… and frankly me as well, combing through my plugins like crazy looking for a filter.

    How do I disable this?

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp


    Did you try using this filter?

    if ( apply_filters( 'bp_bypass_check_for_moderation', false, $user_id, $title, $content ) ) {
    	return true;

    Found in buddypress\bp-core\bp-core-moderation.php



    Thanks so much for this code. What part of the moderation file should I insert this into?

    I put it in the end but it still has issues. Interestingly enough, it doesn’t filter f-bombs, or traditional 4 letter words. Heaven forbid I mention my friend “Gayle” or I write anything talking about reproduction.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar