it will delete the comments after clicking the save / publish.
Correction:
Comments are deleted after refreshing the page.
Flow:
Write comment -> Add Comment -> save / publish -> refresh page -> deleted.
file: class-commenting-block-admin
line: 71
method: cf_add_unfiltered_html_capability_to_users
I tried editing this method by adding the custom role it will solve the problem.
Is there any other way? Like using a filter method where I can add it theme function file instead of editing the plugin source code?
Thanks!
Hi @jarldev,
Thank you for creating a ticket!
A plugin is fully compatible with default WordPress user roles.
We have not tested our plugin with a custom user role. The current plugin version is not supported the custom user role. Currently, we do not have any method to add extra custom roles into our plugin.
In the upcoming new version1.1.0 of our plugin, we are not using this cf_add_unfiltered_html_capability_to_users function anymore and in version 1.1.0 we are allowing only WordPress default user roles. Still, we are not having any method to support custom roles. Maybe in the next versions, we can think about that.
If you still have any questions. Please let me know.
Thanks!