Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`wp user remove-cap` incorrectly returns success status when attempting to remove cap inherited from a role #97
Given a user with a role of Editor, running
Attempting to remove any capability which is not directly assigned to the user (most capabilities are inherited from the user's role) will incorrectly result in a success message.
Alternatively: This could add the capability with a value of