WP_CLI Hook filter not supporting "/" #1063
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.
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.
The text was updated successfully, but these errors were encountered: