-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Feature Request
- Yes, I reviewed the contribution guidelines.
Describe your use case and the problem you are facing
Currently, the wp cap add command documentation states the following about grant:
[--grant]
Adds the capability as an explicit boolean value, instead of implicitly defaulting to true.
---
default: true
options:
– true
– false
---
This documentation is confusing and seems that wp cap add {role} {cap} --grant=false would add a capability as false, when it should actually be wp cap add {role} {cap} --no-grant.
Describe the solution you'd like
Update the documentation to state that --no-grant is the correct way to set an added capability to false.
[--no-grant]
Adds the capability as an explicit boolean false value, instead of implicitly defaulting to true.
Reactions are currently unavailable