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/rest/routes/OptionsRoutes.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/rest/routes/OptionsRoutes.php b/inc/rest/routes/OptionsRoutes.php
index 8795437..f6f40f4 100644
--- a/inc/rest/routes/OptionsRoutes.php
+++ b/inc/rest/routes/OptionsRoutes.php
@@ -1,7 +1,7 @@
<?php
namespace JVBase\rest\routes;
-use JVBase\base\options;
+use JVBase\base\Options;
use JVBase\Instance;
use JVBase\managers\queue\Queue;
use JVBase\rest\PermissionHandler;
@@ -81,7 +81,7 @@
'success' => []
];
- options::setAll($data['changes']);
+ Options::setAll($data['changes']);
// foreach ($data as $field => $value) {
// if (array_key_exists($field, $fields)) {
// $success = $meta->updateValue($field, $value);
--
Gitblit v1.10.0