From ccf5e61a075c35d24befc175994b5cb8957ca322 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 26 Aug 2026 21:45:53 +0000
Subject: [PATCH] =Extra JVB() calls replaced, minor tweaks

---
 inc/blocks/FeedBlockOld.php |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/inc/blocks/FeedBlockOld.php b/inc/blocks/FeedBlockOld.php
index d56cc1c..fcc482d 100644
--- a/inc/blocks/FeedBlockOld.php
+++ b/inc/blocks/FeedBlockOld.php
@@ -22,9 +22,7 @@
 	{
 		// Initialize cache with connections
 		$this->cache = Cache::for('feed_block', WEEK_IN_SECONDS);
-		if (JVB_TESTING) {
-			$this->cache->flush();
-		}
+
 
 		add_action('init', [$this, 'registerBlock']);
 	}
@@ -117,7 +115,7 @@
 
 		$this->config = $this->buildParams($attributes);
 		return $this->cache->remember(
-			$this->cache->generateKey($this->config),
+			$this->config,
 			function() {
 				return $this->renderBlock();
 			}

--
Gitblit v1.10.0