Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that role exists when removing capability #134

Merged
merged 1 commit into from
Apr 11, 2018
Merged

Check that role exists when removing capability #134

merged 1 commit into from
Apr 11, 2018

Conversation

1gor
Copy link
Contributor

@1gor 1gor commented Feb 7, 2017

Some wordpress installations have some of default roles removed. In such case plugin uninstall fails. I suggest a simple check that the role exists.

Some wordpress installations have some of default roles removed. In such case plugin uninstall fails. I suggest a simple check that the role exists.
@chandrapatel chandrapatel merged commit 599a3e2 into rtCamp:master Apr 11, 2018
@chandrapatel
Copy link
Contributor

Thanks @1gor for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants