PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
← All changes | vendor/wpfluent/framework/src/WPFluent/Cache/Cache.php +4 -0 1.3.26 → 1.6.5 View file →
@@ -84,8 +84,12 @@
84 84 * @return mixed
85 85 */
86 86 public static function get($key)
87 87 {
88 + // Initialize so wp_cache_get's by-reference $found arg doesn't
89 + // trigger a PHP 8.1+ "writing to undefined variable" deprecation.
90 + $found = null;
91 +
88 92 $key = static::key($key);
89 93
90 94 if (static::isPersistent()) {
91 95 $value = wp_cache_get($key, static::cacheGroup(), false, $found);