Ready to get started?Download WordPress


Contributors can bulk delete spam? (7 posts)

  1. patung
    Posted 5 years ago #

    In 2.7, what the topic says, my Contributors can bulk delete caught spam, I don't see what that function has got to with a Contributor's role.

  2. mrmist
    Forum Janitor
    Posted 5 years ago #

  3. mrmist
    Forum Janitor
    Posted 5 years ago #

    Actually I think the bulk delete is ok, but the "Delete All Spam" is not. Bulk delete has a "can-edit-post" check against it.

  4. patung
    Posted 5 years ago #

    I disagree, Contributors write and edit draft posts, nothing else, they shouldn't even be able to see the spam comments, nor any of the comments pages, nothing to do with their role.

  5. mrmist
    Forum Janitor
    Posted 5 years ago #

    I've added a patch to the trac which changes the capability check in the menu from edit_posts to moderate_comments, effectively removing it for contributors. I think that makes more sense, but it'll be up to the core devs if they want to adopt it. Nothing to stop you applying the patch to your own install, of course ;)

  6. jupro
    Posted 4 years ago #

    I'm a newb who is a little confused.

    It looks to me like contributors have permission to bulk delete all posts - Regardless of who posted them.

    Is this true?

    If so, is there a way to remove this permission?

    Seems a little dangerous for each contributor to have the ability to destroy all posts at once. Hope you don't make them angry!

  7. Shane G
    Posted 4 years ago #


    You can edit the permissions of your user role with this plugin:


    Also check with this plugin:

    Refer this article too:


    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic