We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every user can approve comments.
In bl-plugins/easyComments/plugin.php , function easyComments(), the $adminCheck variable is always true because of the test :
bl-plugins/easyComments/plugin.php
easyComments()
$adminCheck
in_array($Login->role(), array("author", "admin", true))
By removing the last array item (true), editors can't approve comments anymore, and I think this was the expected behavior.
true
The text was updated successfully, but these errors were encountered:
It may be great if only admins and page author could approve comments.
Sorry, something went wrong.
Thanks a lot, i working new plugin for this.
No branches or pull requests
Every user can approve comments.
In
bl-plugins/easyComments/plugin.php
, functioneasyComments()
, the$adminCheck
variable is always true because of the test :in_array($Login->role(), array("author", "admin", true))
By removing the last array item (
true
), editors can't approve comments anymore, and I think this was the expected behavior.The text was updated successfully, but these errors were encountered: