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/integrations/SyncDefaults.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/inc/integrations/SyncDefaults.php b/inc/integrations/SyncDefaults.php
index 54c3d2e..4c9ad2b 100644
--- a/inc/integrations/SyncDefaults.php
+++ b/inc/integrations/SyncDefaults.php
@@ -1,7 +1,7 @@
 <?php
 namespace JVBase\integrations;
 
-use JVBase\base\options;
+use JVBase\base\Options;
 use JVBase\meta\Form;
 use JVBase\meta\Meta;
 use JVBase\registrar\Registrar;
@@ -167,7 +167,7 @@
 	{
 		$name = $this->getFieldName($fieldName, $type);
 		if (is_null($userID)) {
-			return options::get($name);
+			return Options::get($name);
 		} else {
 			return Meta::forUser($userID)->get($name);
 		}
@@ -176,7 +176,7 @@
 	{
 		$name = $this->getFieldName($fieldName, $type);
 		if (is_null($userID)) {
-			options::set($name, $value);
+			Options::set($name, $value);
 		} else {
 			Meta::forUser($userID)->set($name, $value);
 		}

--
Gitblit v1.10.0