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
Sounds like it might be looking for a status called active,parent and not actually doing any splitting to filter by both.
So this would be more of an enhancement. I'd be open to accept a PR that covers all relevant commands and also clearly documents the behavior. Would also be good to check other commands as well to ensure they all behave similarly.
@swissspidy IMO It's hard to guess whether the user wants to pass comma-separated strings as multiple strings or the string itself contains the comma. In this case, we can explore the strategy to pass a flag multiple times in case multiple values are intended for a flag.
Example:
$ wp --flag=option1 --flag=option2
# It will be parsed by CLI as `$flag = [ 'option1', 'option2' ]`$ wp --flag=option1,option2
# It will be parsed by CLI as `$flag = [ 'option1,option2' ]`
I am creating an audit script and noticed that you cannot use more than one status with the wp theme list command.
Here is an example on a live site:
Output
I can filter by one status
Output
But if I try to get both the active and parent status in one command it fails
Output
The text was updated successfully, but these errors were encountered: