From bdf344f19158a980a99dcca7c82c6e34e84533c0 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 15 Sep 2026 03:05:03 +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

---
 base/users.php |   41 ++++++++++++++++++++++-------------------
 1 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/base/users.php b/base/users.php
index c7abd64..2b06309 100644
--- a/base/users.php
+++ b/base/users.php
@@ -1,4 +1,7 @@
 <?php
+if (!defined('ABSPATH')) {
+	exit;
+}
 /**
  * JVB_USER -> defines user roles. Mainly for Dashboard/Directory sites
  *      Structure: slug => $options
@@ -25,25 +28,25 @@
  */
 
 $defaults = [];
-if (array_key_exists('enthusiast', JVB_SITE) && JVB_SITE['enthusiast'] === true) {
-	$defaults['enthusiast'] = [
-		'label'            => 'Enthusiast',
-		'has_dashboard'    => true,
-		'can_create'       => [],
-		'can_register'     => true,
-		'can_favourite'	   => true,
-		'keep_stats'       => true,
-		'join_text'        => 'Save your favourites. Get Notified.',
-		'join_title'       => 'Welcome to the Scene.',
-		'join_description' => [
-			'Save your favourites for easy access',
-			'Get notified when your favourite artists add new content',
-			'Stay in the loop with local flash days and events',
-			'Discover styles and artists that match your vision'
-		],
-		'join_bonus'       => '<strong>BONUS: </strong>Everything\'s free. And always will be. We work with partners vetted by the community to keep the lights on.',
-	];
-}
+//if (array_key_exists('enthusiast', JVB_SITE) && JVB_SITE['enthusiast'] === true) {
+//	$defaults['enthusiast'] = [
+//		'label'            => 'Enthusiast',
+//		'has_dashboard'    => true,
+//		'can_create'       => [],
+//		'can_register'     => true,
+//		'can_favourite'	   => true,
+//		'keep_stats'       => true,
+//		'join_text'        => 'Save your favourites. Get Notified.',
+//		'join_title'       => 'Welcome to the Scene.',
+//		'join_description' => [
+//			'Save your favourites for easy access',
+//			'Get notified when your favourite artists add new content',
+//			'Stay in the loop with local flash days and events',
+//			'Discover styles and artists that match your vision'
+//		],
+//		'join_bonus'       => '<strong>BONUS: </strong>Everything\'s free. And always will be. We work with partners vetted by the community to keep the lights on.',
+//	];
+//}
 
 $users = array_merge($defaults, apply_filters('jvb_user', []));
 define('JVB_USER', $users);

--
Gitblit v1.10.0