Skip Navigation

[Resolved] Remove default WordPress roles

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to remove the default wordpress roles using access.

Solution:

Unfortunately this is not possible and our development team has taken the necessary steps to resolve this.

This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Author
Posts
#455391

I am trying to:
Remove default WordPress roles.

I visited this URL:
/wp-admin/admin.php?page=types_access&tab=custom-roles

I expected to see:
When clicking on "delete role" I expected to see the role deleted.

Instead, I got:
The spinner keeps spinning but the role is never deleted.
The browser's console shows:
{"success":false,"data":{"type":"capability","message":"That role can not be deleted."}}

I'm not sure if that's a bug. WordPress does allow deleting default roles.
https://codex.wordpress.org/Function_Reference/remove_role

How can I remove/delete default WordPress roles?

#455454

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

I was able to replicate this problem and will be making a report to our team. In the meantime you can try using the plugin below
https://wordpress.org/plugins/user-role-editor/

Please let me know if this helps.
Thanks,
Shane

#455478

Thank you! I've done it manually for now. Please let me know when you're expecting this fixed.

#455528

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I cannot say when this will be done but my best guess is that some workaround may be provided or it could be pushed to a future release.

Thanks,
Shane

#456705

Hey,

Are there any updates for this issue? Did the developers take ownership of the bug?

#456830

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Actually yes and the issue has already been fixed.

The fix will be made available in our next release.

Thanks,
Shane

#456845

Thank you!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.