From 01e9a8e40351a87f6548a4f55de842d6f6918ad0 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 15 Sep 2026 02:44:28 +0000
Subject: [PATCH] =Found little glitch with auto-adding rewrite rules to taxonomy Registrar instances where we have the post type as the base in the url rewrite

---
 inc/managers/Dashboard/Dashboard.php |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/inc/managers/Dashboard/Dashboard.php b/inc/managers/Dashboard/Dashboard.php
index 43d6c52..4d7f9c4 100644
--- a/inc/managers/Dashboard/Dashboard.php
+++ b/inc/managers/Dashboard/Dashboard.php
@@ -19,9 +19,7 @@
 	private function __construct() {
 		self::$based = BASE.$this->slug;
 		$this->cache = Cache::for('dashboard', 'post');
-		if (JVB_TESTING) {
-			$this->cache->flush();
-		}
+
 		$this->registerDashboard();
 		$this->buildPages();
 		$this->buildSections();
@@ -720,7 +718,7 @@
 			echo '<form data-save="user" data-auto data-action="dash">'.jvbFormStatus().$tabs->render().'<button type="submit">'.jvbDashIcon('floppy-disk').'Save</button></form>';
 		} else {
 			$fields = Fields::getUserFields();
-			$meta = new Meta($user->ID, 'user', $fields);
+			$meta = Meta::forUser($user->ID);
 
 			echo Form::renderFormFrom($meta, 'user', [
 				'heading'	=> 'Your Account',

--
Gitblit v1.10.0