Re: Security Feature Suggestions?
This filters out nasty rude words for comment replies, maybe someone could extend that to cover BP streams.
`
function filter_profanity($content) {
$profanities = array(‘smelly,’fart’,’bignose’,’lamebrain’, );
$content=str_ireplace($profanities,’*censored*’,$content);
return $content;
}
add_filter(‘comment_text’,’filter_profanity’);
`
Obviously I’ve had to filter the filter words as mine were simply shocking and not to be repeated in polite company.