Skip to content
New issue

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

WP_CLI Hook filter not supporting "/" #1063

Open
JUVOJustin opened this issue May 25, 2024 · 0 comments
Open

WP_CLI Hook filter not supporting "/" #1063

JUVOJustin opened this issue May 25, 2024 · 0 comments
Labels
priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.

Comments

@JUVOJustin
Copy link

I love using the WP_CLI to prioritize executions of special hooks like webhooks. I create a library to import massive csv files that are automatically split in chunks. To prioritize this import i would love to add a cron that runs every minute and only processes jobs ob this import.

The hook name looks like this: SW/Sync/Amazon/Inventory/process_chunk

The CLI always finishes immediately since it cannot find any jobs. Using the UI as well as the CLI without any filters applied works flawless.

I think there might be a bug how the CLI´s hook filter values are passed to the DB query.

@naman03malhotra naman03malhotra added the type: bug The issue is a confirmed bug. label May 27, 2024
@vedanshujain vedanshujain added the priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants