PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / 1.7.7
Image Optimizer – Compress Images and Convert to WebP or AVIF v1.7.7
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/functions.php +2 -1 1.5.4 → 1.7.7 View file →
@@ -126,8 +126,9 @@
126 126 $interval = (int) $interval_in_seconds;
127 127
128 128 // We expect an integer and allow it to be passed using float and string types, but otherwise
129 129 // should reject unexpected values.
130 + // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
130 131 if ( ! is_numeric( $interval_in_seconds ) || $interval_in_seconds != $interval ) {
131 132 _doing_it_wrong(
132 133 __METHOD__,
133 134 sprintf(
@@ -455,9 +456,9 @@
455 456 foreach ( $ids as $action_id ) {
456 457 $actions[ $action_id ] = $store->fetch_action( $action_id );
457 458 }
458 459
459 - if ( ARRAY_A == $return_format ) {
460 + if ( ARRAY_A === $return_format ) {
460 461 foreach ( $actions as $action_id => $action_object ) {
461 462 $actions[ $action_id ] = get_object_vars( $action_object );
462 463 }
463 464 }