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/registrar/Registrar.php |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/inc/registrar/Registrar.php b/inc/registrar/Registrar.php
index 3cc1b10..821c6db 100644
--- a/inc/registrar/Registrar.php
+++ b/inc/registrar/Registrar.php
@@ -1070,9 +1070,6 @@
 		if ($block['blockName'] !== 'core/post-content') {
 			return $content;
 		}
-		if (JVB_TESTING) {
-			Cache::for($this->slug)->flush();
-		}
 
         $per_page = 10;
         $page = $_GET['tp']??1;
@@ -1089,7 +1086,7 @@
 			'order'		=> 'desc',
         ]);
 
-        $cache = Cache::for($this->slug)->connect('taxonomy');
+        $cache = Cache::for($this->slug, 'term');
 		$max = $cache->remember(
 			'max',
 			function () {
@@ -1131,7 +1128,7 @@
 
 
 		$out = $nav. Cache::for($this->slug)->remember(
-			$cache->generateKey(['type' =>'contentArchive', ... $args]),
+			['type' =>'contentArchive', ... $args],
 			function() use ($args) {
 
 

--
Gitblit v1.10.0