PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 8.8.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v8.8.2
8.8.2 8.8.1 8.8.0 8.7.9 8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 All 538 releases
← All changes | addons/automator/includes/actions/delay-actions.php +19 -19 8.7.6 → 8.8.2 View file →
@@ -133,15 +133,15 @@
133 133 }
134 134
135 135 $human_delay = $delay_amount . ' ' . $delay_unit;
136 136
137 - error_log( sprintf(
138 - 'WPbot Automator - Delay: Workflow %d paused for %s. Task ID: %d. Resumes at %s.',
139 - $workflow_id,
140 - $human_delay,
141 - $task_id,
142 - $scheduled_at
143 - ) );
137 + // error_log( sprintf(
138 + // 'WPbot Automator - Delay: Workflow %d paused for %s. Task ID: %d. Resumes at %s.',
139 + // $workflow_id,
140 + // $human_delay,
141 + // $task_id,
142 + // $scheduled_at
143 + // ) );
144 144
145 145 // Signal the workflow runner to halt further synchronous execution on
146 146 // this branch by returning the special __halt key.
147 147 return array(
@@ -162,9 +162,9 @@
162 162 public function resume_workflow( $task_id ) {
163 163 $task = Database::get_scheduled_task( absint( $task_id ) );
164 164
165 165 if ( ! $task ) {
166 - error_log( sprintf( 'WPbot Automator - Delay: resume_workflow called with unknown task ID %d.', $task_id ) );
166 + //error_log( sprintf( 'WPbot Automator - Delay: resume_workflow called with unknown task ID %d.', $task_id ) );
167 167 return;
168 168 }
169 169
170 170 if ( 'pending' !== $task['status'] ) {
@@ -180,14 +180,14 @@
180 180 $trigger_data = is_array( $task['trigger_data'] ) ? $task['trigger_data'] : array();
181 181 $remaining_nodes = is_array( $task['remaining_nodes'] ) ? $task['remaining_nodes'] : array();
182 182 $connections = is_array( $task['connections'] ) ? $task['connections'] : array();
183 183
184 - error_log( sprintf(
185 - 'WPbot Automator - Delay: Resuming workflow %d from task %d. Remaining nodes: %d.',
186 - $workflow_id,
187 - $task_id,
188 - count( $remaining_nodes )
189 - ) );
184 + // error_log( sprintf(
185 + // 'WPbot Automator - Delay: Resuming workflow %d from task %d. Remaining nodes: %d.',
186 + // $workflow_id,
187 + // $task_id,
188 + // count( $remaining_nodes )
189 + // ) );
190 190
191 191 if ( empty( $remaining_nodes ) ) {
192 192 return;
193 193 }
@@ -230,11 +230,11 @@
230 230 );
231 231
232 232 Workflow_Runner::execute_workflow( $fake_workflow, $trigger_data, $first_node_id );
233 233
234 - error_log( sprintf(
235 - 'WPbot Automator - Delay: Workflow %d resumed and completed from task %d.',
236 - $workflow_id,
237 - $task_id
238 - ) );
234 + // error_log( sprintf(
235 + // 'WPbot Automator - Delay: Workflow %d resumed and completed from task %d.',
236 + // $workflow_id,
237 + // $task_id
238 + // ) );
239 239 }
240 240 }