From 58e8ae0759ccfa97c478ccae4e0778bdce70966f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 22 Jan 2026 22:40:02 +0000
Subject: [PATCH] =DirectoryManager.php updates, some javascript tweaks for CRUD.js, and minor style changes
---
inc/blocks/FeedBlock.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/inc/blocks/FeedBlock.php b/inc/blocks/FeedBlock.php
index 71f30c9..45a0959 100644
--- a/inc/blocks/FeedBlock.php
+++ b/inc/blocks/FeedBlock.php
@@ -21,9 +21,11 @@
{
// Initialize cache with connections
$this->cache = CacheManager::for('feed_block', WEEK_IN_SECONDS);
- $this->cache->clear();
// Set up cache connections for all feed content types
$this->setupCacheConnections();
+ if (JVB_TESTING) {
+ $this->cache->clear();
+ }
add_action('init', [$this, 'registerBlock']);
}
@@ -188,6 +190,7 @@
echo TaxonomySelector::outputSelectorModal();
?>
</section>
+ <footer><button data-action="refresh" data-ignore><?=jvbIcon('arrows-clockwise')?><span>Hard Refresh</span></span></button></footer>
<?php
return ob_get_clean();
}
--
Gitblit v1.10.0