-
Notifications
You must be signed in to change notification settings - Fork 2k
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: wp-admin ignores moderate_comments #17687
Labels
Comments
gwwar
added
[Type] Bug
[Feature] Comments
Comments on posts and the admin screen for managing them.
labels
Sep 1, 2017
Also probably related: |
Verified that The action links are also filtered by: foreach ( $comment_ids as $comment_id ) { // Check the permissions on each
if ( !current_user_can( 'edit_comment', $comment_id ) )
continue; |
Working on this in:
|
kwight
added a commit
to Automattic/jetpack
that referenced
this issue
Oct 12, 2017
This was referenced Oct 12, 2017
Merged
POSTs (moderate) fixed in r163946-wpcom and Automattic/jetpack#7981 (v5.5). |
dereksmart
pushed a commit
to Automattic/jetpack
that referenced
this issue
Oct 17, 2017
This was referenced Jan 11, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
It turns out that wp-admin does not respect moderate_comments at all. https://core.trac.wordpress.org/ticket/6907#comment:4
At a high level this means that a default Author role can moderate comments on their post in wp-admin, but cannot using our rest apis.
Unless there are security concerns, I would recommend modifying the comment endpoints to match wp-admin behavior.
To summarize:
edit_posts
instead ofmoderate_comments
The text was updated successfully, but these errors were encountered: