From 75a097a018a0090f5902758353c578fce4aa2a25 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 23 May 2026 18:43:42 +0000
Subject: [PATCH] =CustomBlocks.php overhaul relatively complete. Also refactored the gallery in gallery.min.js and the jvbRenderGallery.
---
inc/utility/Image.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/inc/utility/Image.php b/inc/utility/Image.php
index 0b0afc2..b888008 100644
--- a/inc/utility/Image.php
+++ b/inc/utility/Image.php
@@ -21,6 +21,7 @@
$this->imgData = Cache::for('imageData')->connect('post');
if (JVB_TESTING) {
$this->cache->flush();
+ $this->imgData->flush();
}
}
@@ -95,7 +96,7 @@
$postSlug,
$postSlug,
$imgSlug,
- $full[0]
+ $full[0]??''
);
// Add gallery attributes to img tag
--
Gitblit v1.10.0