PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / trunk
Image Optimizer – Compress Images and Convert to WebP or AVIF vtrunk
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php +2 -0 1.4.0 → trunk View file →
@@ -306,8 +306,9 @@
306 306 $schedule = new ActionScheduler_SimpleSchedule( $date );
307 307 break;
308 308
309 309 default:
310 + // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
310 311 error_log( "Unknown action type '{$options['type']}' specified when trying to create an action for '{$options['hook']}'." );
311 312 return 0;
312 313 }
313 314
@@ -317,8 +318,9 @@
317 318 $action_id = 0;
318 319 try {
319 320 $action_id = $options['unique'] ? $this->store_unique_action( $action ) : $this->store( $action );
320 321 } catch ( Exception $e ) {
322 + // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
321 323 error_log(
322 324 sprintf(
323 325 /* translators: %1$s is the name of the hook to be enqueued, %2$s is the exception message. */
324 326 __( 'Caught exception while enqueuing action "%1$s": %2$s', 'action-scheduler' ),