PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.4
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.4
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 1.1.5 1.1.6 1.1.7 All 30 releases
← All changes | includes/class-memcached-client.php +7 -0 1.0.41.3.4 View file →
@@ -55,8 +55,15 @@
55 55 $this->timeout,
56 56 STREAM_CLIENT_CONNECT
57 57 );
58 58 if ( ! $sock ) {
59 + // See class-redis-client.php: the `@`-suppressed warning still
60 + // lingers in error_get_last(), which WP reads to tag the admin
61 + // page `php-error` (empty banner above the menu). We handle the
62 + // failure gracefully, so clear it.
63 + if ( function_exists( 'error_clear_last' ) ) {
64 + error_clear_last();
65 + }
59 66 return false;
60 67 }
61 68 stream_set_timeout( $sock, (int) $this->timeout, (int) ( ( $this->timeout - (int) $this->timeout ) * 1000000 ) );
62 69 $this->sock = $sock;