The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to set unlimite...
 
Share:
Notifications
Clear all

How to set unlimited with the edit button

5 Posts
2 Users
2 Likes
677 Views
Posts: 5
Topic starter
(@non888)
Active Member
Joined: 3 years 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: 7105
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

Hi non888,

We'll check and back to you asap. 

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

Illustrious Member
Posts: 7105

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)
Joined: 3 years 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: 6 years ago

Illustrious Member
Posts: 7105

@non888,

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

Reply
Share: