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/meta/MetaOld.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/meta/MetaOld.php b/inc/meta/MetaOld.php
index 384735e..02c5f31 100644
--- a/inc/meta/MetaOld.php
+++ b/inc/meta/MetaOld.php
@@ -1,7 +1,7 @@
<?php
namespace JVBase\meta;
-use JVBase\base\options;
+use JVBase\base\Options;
use JVBase\registrar\Registrar;
use WP_Post;
use WP_Term;
@@ -122,7 +122,7 @@
}
if ($this->type == 'option') {
- $options = options::getInstance();
+ $options = Options::getInstance();
$fields = $options->getFields();
}
$meta = match($type) {
--
Gitblit v1.10.0