Skip to content
New issue

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

Comments can be approved by everyone #7

Open
fragadass opened this issue Jan 26, 2025 · 2 comments
Open

Comments can be approved by everyone #7

fragadass opened this issue Jan 26, 2025 · 2 comments

Comments

@fragadass
Copy link

Every user can approve comments.

In bl-plugins/easyComments/plugin.php , function easyComments(), 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.

@fragadass
Copy link
Author

It may be great if only admins and page author could approve comments.

@multicolor-rgb
Copy link
Owner

Thanks a lot, i working new plugin for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants