From 2a2303d1dccc120dd7aa5f6b6ade0f89e0064850 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 25 Nov 2025 07:42:23 +0000
Subject: [PATCH] =Feed block mostly good! Referrals look good to go. Ready for Madi and Heidi to approve
---
inc/blocks/SummaryBlock.php | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/inc/blocks/SummaryBlock.php b/inc/blocks/SummaryBlock.php
index 1d250b3..7e92262 100644
--- a/inc/blocks/SummaryBlock.php
+++ b/inc/blocks/SummaryBlock.php
@@ -23,7 +23,7 @@
public function __construct()
{
- $this->cache = new CacheManager('summary', WEEK_IN_SECONDS);
+ $this->cache = CacheManager::for('summary_block', WEEK_IN_SECONDS);
add_action('init', [ $this, 'registerBlock' ]);
}
@@ -66,7 +66,7 @@
);
/**
* The h1 title element, excluding the h1 tag.
- * Can include additonal html (like <small> or <b>)
+ * Can include additional html (like <small> or <b>)
*/
$this->header = apply_filters(
'jvbSummaryHeader',
@@ -105,8 +105,6 @@
$this->getType()
);
-
- $this->icons = new JVBICons();
ob_start();
$this->renderBlock();
$content = ob_get_clean();
--
Gitblit v1.10.0