From d9ff51a057ffc53d23b6d9e87f8e6426c9282be8 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Mon, 11 Sep 2017 15:36:46 -0700 Subject: [PATCH] Don't bother retrying. Will update readme to explain the errors the plugin provides, and emphasize the need for a CLI runner. --- includes/run.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/run.php b/includes/run.php index 39421ed..03b90a4 100644 --- a/includes/run.php +++ b/includes/run.php @@ -16,7 +16,6 @@ use WP_CLI; */ function run_event( $command ) { if ( ! defined( 'WP_CLI' ) || ! \WP_CLI ) { - // TODO: reschedule at least once or twice. /* translators: 1: Plugin's prefix for log messages, 2. WP-CLI command that would have run */ trigger_error( sprintf( __( '%1$s: Attempted to run event without WP-CLI loaded. (%2$s)', 'wp-cli-cron-control-offload' ), MESSAGE_PREFIX, var_export( $command, true ) ), E_USER_WARNING ); return; -- GitLab