Feature Request
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.
Feature Request
Describe your use case and the problem you are facing
Currently, the
wp cap addcommand documentation states the following about grant:This documentation is confusing and seems that
wp cap add {role} {cap} --grant=falsewould add a capability as false, when it should actually bewp cap add {role} {cap} --no-grant.Describe the solution you'd like
Update the documentation to state that
--no-grantis the correct way to set an added capability tofalse.