Does anyone know how to disable duplicate comment detection in WordPress (2.9.2)? I’m looking for a way to do this programatically without editing core files. We’re adding comments via XMLRPC and the duplicate detection in wp-includes/comment.php (line 494) is causing issues during testing.
Thanks!
Actually, you don’t need to edit ANY core files to do this. Just put these one filter and two tiny functions in your theme’s
functions.php
file and duplicate comments will no longer be rejected.Currently, there are no hooks available to do this without editing core files.
The best way would be to comment out the duplicate check from
wp-includes/comment.php
I had the same issue when replying in the backend on comments.
But just replying with the same comment on the frontend worked fine without changing anything.
Hope this might help someone.