You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, actually when there is no role listed, the user is being "deactivated" meanting they will no longer have access to the backend of the site, but their posts will still be visible at the website.
This is actually a good option to have in wp-cli on my opinion. Maybe the message can be edited only as it is a bit missleading.
Bug Report
Describe the current, buggy behavior
wp user set-role
with no[role]
argument is documented as "adds the default role".But matching
remove-role
synopsis is undocumented and also produces a scary display result:This looks like my user just got wiped. Fortunately it's not the case, as
wp user get
confirmed.Describe how other contributors can replicate this bug
See commands above.
Describe what you would expect as the correct outcome
a)
user remove-role
should not proceed without a[role]
parameterb) match
set-role
strategy and remove default role + add documentationLet us know what environment you are running this on
The text was updated successfully, but these errors were encountered: