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

Conversation

Projects
None yet
2 participants
@1gor
Copy link
Contributor

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.

Check that role exists when removing capability
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

1 check failed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
@chandrapatel

This comment has been minimized.

Copy link
Collaborator

commented Apr 11, 2018

Thanks @1gor for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.