From 20ccbcb7a07120ff4c9f7889cbe8782ef29f7811 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Fri, 8 Sep 2017 15:29:57 -0700 Subject: [PATCH] Fix filter, since we're whitelisting by top-level WP-CLI command --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index f2c757a..22d50bc 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -116,7 +116,7 @@ function get_command_whitelist() { 'widget', ); - return apply_filters( 'wp_cli_cron_control_offload_subcommand_whitelist', $whitelist ); + return apply_filters( 'wp_cli_cron_control_offload_command_whitelist', $whitelist ); } /** -- GitLab