PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.7
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.7
1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.4 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 33 releases
← All changes | includes/class-pro-audit.php +6 -0 1.3.4 → 1.3.7 View file →
@@ -328,8 +328,14 @@
328 328 }
329 329 return array();
330 330 }
331 331 if ( ! is_array( $raw ) ) {
332 + if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
333 + // Usually a contributor that forgot to return the list. It
334 + // costs every contribution, so it should not be silent either.
335 + // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
336 + error_log( '[xspeed] xspeed_pro_audit_suggestions returned ' . gettype( $raw ) . ', not an array; contributions dropped' );
337 + }
332 338 return array();
333 339 }
334 340
335 341 $out = array();