wpDiscuz - WordPress Comment Plugin
Remove the restrict...
Clear all

[Solved] Remove the restriction for identical comments

3 Posts
2 Users
Posts: 6
Topic starter
Active Member
Joined: 2 years ago

I would like to remove the restriction for 2 identical comments, as well as the restriction that comments are made too quickly, this prevents people from expressing opinions in the same way, there are people who are used to pressing enter for a new line, this is also a restriction for people who want to comment.
How can I remove these restrictions?
The subdomain on which I am testing wpDiscuz is not final yet, I can only link you to the page on which I am testing.

2 Replies
Posts: 6200
Illustrious Member
Joined: 5 years ago


Both restrictions are made by the WordPress side not wpDiscuz, so you can use the WordPress hooks:

The first restriction can be removed using this one: 

add_filter('duplicate_comment_id', '__return_false');

In this article, you can find a way to disable the WordPress comment flood prevention:


Put both codes in the active theme functions.php file.

This article should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

1 Reply
Joined: 2 years ago

Active Member
Posts: 6


Thank you, you helped me a lot, despite my ignorance! 🧡