wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

How to set unlimited with the edit button


non888
Posts: 5
Topic starter
(@non888)
Active Member
Joined: 4 months ago

I'm sorry, but I'm not good at English, so I use Google Translate.

I'm using wpiscuz7, but I can't set it even if I select "Unlimited" in "Edit button-Allow comment editing" in "Comment moderation".
It will be automatically changed to "Do not allow".
How can I set it to "Unlimited"?

4 Replies
Asti
Posts: 4116
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

Hi non888,

We'll check and back to you asap. 

Reply
3 Replies
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 4116

Thank you for letting us know. The issue will be fixed in the next version.

Below is provided a quick solution for you, please use the following hook-code:

add_filter('wpdiscuz_is_comment_editable','__return_true');

Put it in the active theme functions.php file.

Reply
non888
(@non888)
Joined: 4 months ago

Active Member
Posts: 5

@asti 

Thank you!
After putting the code in functions.php, do I need to change "Edit Button --Allow comment editing for" in the administration screen "Comment Moderation"?

Reply
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 4116

@non888,

Not necessary. It'll work fine. However after the plugin update, you can remove the code and use the option.  

Reply
Share: