Skip to content
Commit f97dd00b authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

REST API: Merge two similar permission error strings in `class-wp-rest-comments-controller.php`.

We're checking if `current_user_can( 'moderate_comments' )` here, not the specific comment permissions.

See #38857.
Built from https://develop.svn.wordpress.org/trunk@39305


git-svn-id: https://core.svn.wordpress.org/trunk@39245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 9df1e451
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment