From 88d9e0e2b7997eb0c96dc737082c91b4e3f7ca6e Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 17 Jun 2026 15:10:37 +0000
Subject: [PATCH] =Fixed for single image upload fields populating the image meta. Need to check galleries now.

---
 inc/blocks/_setup.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/inc/blocks/_setup.php b/inc/blocks/_setup.php
index cdae9f1..42ec61d 100644
--- a/inc/blocks/_setup.php
+++ b/inc/blocks/_setup.php
@@ -20,17 +20,17 @@
 		new JVBase\blocks\MenuBlock();
 	}
 
-	if (!empty(Registrar::getFeatured('is_faq'))) {
+	if (!empty(Registrar::withFeature('is_faq'))) {
 		require('FAQBlock.php');
 		new JVBase\blocks\FAQBlock();
 	}
 
-	if (!empty(Registrar::getFeatured('is_glossary'))) {
+	if (!empty(Registrar::withFeature('is_glossary'))) {
 		require('GlossaryBlock.php');
 		new JVBase\blocks\GlossaryBlock();
 	}
 
-	if (!empty(Registrar::getFeatured('is_timeline'))) {
+	if (!empty(Registrar::withFeature('is_timeline'))) {
 		require('TimelineBlock.php');
 		new JVBase\blocks\TimelineBlock();
 	}
@@ -47,7 +47,7 @@
 //            ]
 //        );
 //    }
-//	if (!empty(Registrar::getFeatured('show_directory'))) {
+//	if (!empty(Registrar::withFeature('show_directory'))) {
 //		error_log('Registering Directory List Block');
 //		register_block_type(
 //			JVB_DIR . '/build/list',

--
Gitblit v1.10.0