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_InvalidActionException.php +2 -4 1.5.4 → trunk View file →
@@ -20,9 +20,9 @@
20 20 $message = sprintf(
21 21 /* translators: 1: action ID 2: schedule */
22 22 __( 'Action [%1$s] has an invalid schedule: %2$s', 'action-scheduler' ),
23 23 $action_id,
24 - var_export( $schedule, true )
24 + var_export( $schedule, true ) // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export
25 25 );
26 26
27 27 return new static( $message );
28 28 }
@@ -29,10 +29,8 @@
29 29
30 30 /**
31 31 * Create a new exception when the action's args cannot be decoded to an array.
32 32 *
33 - * @author Jeremy Pry
34 - *
35 33 * @param string $action_id The action ID with bad args.
36 34 * @param mixed $args Passed arguments.
37 35 * @return static
38 36 */
@@ -40,9 +38,9 @@
40 38 $message = sprintf(
41 39 /* translators: 1: action ID 2: arguments */
42 40 __( 'Action [%1$s] has invalid arguments. It cannot be JSON decoded to an array. $args = %2$s', 'action-scheduler' ),
43 41 $action_id,
44 - var_export( $args, true )
42 + var_export( $args, true ) // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export
45 43 );
46 44
47 45 return new static( $message );
48 46 }