Removing the duplicate comment check
-
Hi,
I’d like to allow duplicate comments on a site I’m creating (for system messages posted as comments). I’ve found a core hack (no thanks), an md5 workaround (prefer not to) and one person who offers a hook solution (yes, please).
The hook solution is here: http://mrtwebdesign.com/disable-duplicate-comment-detection-for-pages-and-posts/
But it doesn’t work. I put the line of code into my plugin and my theme (separately), but it doesn’t do anything:
remove_filter(‘commentdata’,’comment_duplicate_trigger’);
Still get the duplicate comment error message. Can anyone point me in the direction of a fix, please?
Thanks!
The topic ‘Removing the duplicate comment check’ is closed to new replies.