From 48721c85ebcfa973ee81719d2467ca80e4253dc9 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 01 May 2026 17:30:03 +0000
Subject: [PATCH] =Edmonton Ink hard test begins! Real testing of the managers and reset routes will commence. So far, just ensuring our classes are all loaded correctly: Site() and its sub-classes Membership, Login, etc. Care should be taken to load conditionally on 'init', as we finish defining most settings by 'plugins_loaded' at priority 5

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

diff --git a/inc/blocks/FormBlock.php b/inc/blocks/FormBlock.php
index 216857d..a48519a 100644
--- a/inc/blocks/FormBlock.php
+++ b/inc/blocks/FormBlock.php
@@ -3,7 +3,7 @@
 
 use JVBase\managers\Cache;
 use JVBase\meta\Form;
-use JVBase\utility\Features;
+use JVBase\base\Site;
 
 if (!defined('ABSPATH')) {
 	exit; // Exit if accessed directly
@@ -37,7 +37,7 @@
 		// Initialize forms from filter
 		$this->forms = $this->registerForms();
 		$this->form_contact = apply_filters('jvb_form_contact', '');
-		
+
 		// Hook into the CustomBlocks render system
 		add_filter('jvb_render_block_jvb_forms', [$this, 'render'], 10, 2);
 
@@ -58,7 +58,7 @@
 		}
 
 		// Enqueue Turnstile if needed
-		if (Features::forSite()->hasIntegration('cloudflare')) {
+		if (Site::hasIntegration('cloudflare')) {
 			$cloudflare = JVB()->connect('cloudflare');
 			if ($cloudflare->isSetUp()) {
 				$cloudflare->enqueueTurnstileScripts();
@@ -401,7 +401,7 @@
 	 */
 	protected function renderTurnstile(): void
 	{
-		if (!Features::hasIntegration('cloudflare')) {
+		if (!Site::hasIntegration('cloudflare')) {
 			return;
 		}
 

--
Gitblit v1.10.0