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?
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?
You must be logged in to post a comment.
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.