• I had manually made some changes to the default editor role and was looking to reset it back default. I found this plugin but after reading some of the support posts I looked at the code before installing it.

    The code steps through every role and removes all the capabilities for each role, then removes the role. It then reinstates the default WP roles.

    This is fine if you don’t use any plugins that have created roles of their own. These roles are gone. The description says “This plugin does only one thing: Reset Roles and Capabilities to WordPress defaults.” There is no warning that resetting the roles includes removing custom roles. The description should mention this or code added so that only the WP default roles are affected.

Viewing 1 replies (of 1 total)
  • In theory, you should be able to deactivate and reactivate any affected plugins. I’ve tested this with WooCommerce and User Role Editor ( both create roles & set capabilities ), which, as expected, create their roles and set their capabilities on activation. Any affected users will still have their role set in the database, so as long as the plugin regenerates the role ( which should follow best practices ), it should be fine.

    I don’t think the plugin is misleading in that sense, but the description could point that out just for fullness or be added in an FAQ.

Viewing 1 replies (of 1 total)
  • The topic ‘WARNING: This plugin removes ALL roles not just WP Roles.’ is closed to new replies.