I wrote a plugin that modifies the contents of some comments. It uses the pre_comment_content filter. It seems to work OK using the standard WP moderation, however, it doesn't when I turn on the IntenseDebate Enhanced Moderation.
Here's some code:
function my_plugin($orig_comment){
$orig_comment = some_func($orig_comment);
return $orig_comment;
}
Edit: Basically the plugin just applies some formatting, let's say lowercase all letters. In the first case it works perfectly, when using IntenseDebate it seems as if my function never gets called.
Any workarounds for this?