Shouldn’t this remove the capability to delete a post? Even if I remove the delete_posts capability for an editor, he still can trash a post and then delete i permanently. That can’t be right.

How do you remove the capability to trash/delete a post?

1 Answer
1

Maybe this was some conflict plugin/functions.php/theme/WP-version…

I just duplicated the editor role with User Role Editor, removed all the delete_*_posts capabilities and the user cannot delete a post.

enter image description here

Leave a Reply

Your email address will not be published. Required fields are marked *