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/managers/Cache.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/managers/Cache.php b/inc/managers/Cache.php
index e55e758..7653b9a 100644
--- a/inc/managers/Cache.php
+++ b/inc/managers/Cache.php
@@ -32,7 +32,7 @@
add_action('save_post', [self::class, 'onPostChange'], 10, 2);
add_action('delete_post', [self::class, 'onPostDelete']);
- // Post meta updates, now handled via MetaManager.php?
+ // Post meta updates, now handled via Meta.php?
// add_action('updated_post_meta', [self::class, 'onPostMetaChange'], 10, 2);
// add_action('added_post_meta', [self::class, 'onPostMetaChange'], 10, 2);
// add_action('deleted_post_meta', [self::class, 'onPostMetaDelete'], 10, 2);
@@ -491,7 +491,7 @@
****************************************************/
public static function onTermChange(int $termId, int $ttId, string $taxonomy): void
{
-// error_log('[Clearing cache for term change: '.$termId.']');
+ error_log('[Clearing cache for term change: '.$termId.']');
self::invalidateItem('taxonomy', $termId);
}
--
Gitblit v1.10.0