WordPress.org

Ready to get started?Download WordPress

Forums

Delete capabilities (4 posts)

  1. publicradio
    Member
    Posted 3 years ago #

    I've used a couple different role managers, like user role manager, role editor, etc. And these plugins allow you to add or remove roles, and also add custom capabilities to those roles.

    However, none of the plugins I can find seem to allow you to delete custom roles. Is there anything out there that will allow you to delete capabilities that aren't part of the WordPress core?

    Thanks.

  2. floridiculous
    Member
    Posted 2 years ago #

    Still a good question…
    The documentation of capabilities is really… poor.

    Please post when you find a solution! I keep searching too.

  3. michael walker
    Member
    Posted 2 years ago #

    Me too! I have a heap of capabilities installed by various plug-ins I don't use any more, or tried and didn't like - and I can't find a way of deleting these, so they are all still there, cluttering up my database for no good reaon. I'm sure there must be a way to do this, but...?

    Anyone?

  4. mystifier
    Member
    Posted 2 years ago #

    And me!

    Use Role Manager only lets you delete capabilities that it has created but in my list of capabilities, there are many obsolete capabilities where plug-in trials, such as MailPress, have not cleaned up properly when deleted.

    They don't do any harm but there are tens of them and they are annoying :)

    They are all stored in one 'wp_user_roles' field in 'wp_options' but it is too complicated to edit by hand.

Topic Closed

This topic has been closed to new replies.

About this Topic