We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the current, buggy behavior
The wp post delete command has this example
wp post delete
entity-command/src/Post_Command.php
Lines 463 to 466 in 1b65952
Running this example for a custom post type doesn't work because the --force flag is missing, introduced in #188.
--force
Describe how other contributors can replicate this bug
Describe what you would expect as the correct outcome
The post should be deleted without a warning because it's already in trash.
Provide a possible solution
Skip the check in
Lines 486 to 493 in 1b65952
$status
trash
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion, @ocean90
I'm open to making this change, although it'd technically be a breaking change so we'd need to communicate such accordingly.
Sorry, something went wrong.
No branches or pull requests
Bug Report
Describe the current, buggy behavior
The
wp post delete
command has this exampleentity-command/src/Post_Command.php
Lines 463 to 466 in 1b65952
Running this example for a custom post type doesn't work because the
--force
flag is missing, introduced in #188.Describe how other contributors can replicate this bug
Describe what you would expect as the correct outcome
The post should be deleted without a warning because it's already in trash.
Provide a possible solution
Skip the check in
entity-command/src/Post_Command.php
Lines 486 to 493 in 1b65952
$status
istrash
.The text was updated successfully, but these errors were encountered: