From d7dbe7fee362d587dfc334135d9581b6216a4295 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 23 Nov 2025 04:13:56 +0000
Subject: [PATCH] =Timeline block, and feed block updated. DataStore.js refactored to not block rendering
---
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