From f859e64a57c624ff2daa2b21355f65a49fd4807d Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 29 Aug 2026 03:09:12 +0000
Subject: [PATCH] =Some more tweaks. Mostly on the MenuBlock and adding the Meta.php to WooCommerce Products

---
 inc/managers/CRUDManager.php |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/inc/managers/CRUDManager.php b/inc/managers/CRUDManager.php
index 58aa17d..4614004 100644
--- a/inc/managers/CRUDManager.php
+++ b/inc/managers/CRUDManager.php
@@ -27,14 +27,10 @@
 		if (!$this->registrar) {
 			return;
 		}
+		$this->cache = Cache::for('crud_date_ranges','post')->user();
 
 		$this->user_id = get_current_user_id();
 		$this->content = $content;
-		$this->cache = Cache::for('crud')->connect('post')->connect('taxonomy');
-
-		if (JVB_TESTING) {
-			$this->cache->flush();
-		}
 
 		// Create and configure skeleton
 		$this->skeleton = new CRUDSkeleton();
@@ -64,12 +60,10 @@
 		// Fields and sections
 		$this->skeleton->setFields($this->registrar->getFields());
 
-		jvbDump($this->registrar->getSections());
         $sections = $this->registrar->getSections();
         if (count($sections) > 1) {
             foreach ($sections as $config) {
-                jvbDump($config);
-                $this->skeleton->addSection($config['id'], $config);
+                $this->skeleton->addSection($config['slug'], $config);
             }
         }
 

--
Gitblit v1.10.0