From aeb5a13bfa203281aaa5573e19fe5aa6ac012152 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 02 Jan 2026 06:03:55 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb

---
 inc/forms/TaxonomySelectorOld.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/inc/forms/TaxonomySelectorOld.php b/inc/forms/TaxonomySelectorOld.php
index 32ceef1..7da3336 100644
--- a/inc/forms/TaxonomySelectorOld.php
+++ b/inc/forms/TaxonomySelectorOld.php
@@ -1,8 +1,8 @@
 <?php
 namespace JVBase\forms;
 
-use JVBase\JVBIcons;
 use JVBase\managers\CacheManager;
+use JVBase\managers\IconsManager;
 use WP_REST_Request;
 use WP_REST_Response;
 use WP_Term;
@@ -21,7 +21,7 @@
     protected string $id;
     protected string $name;
     protected string $taxonomyName;
-    protected JVBIcons $icon;
+    protected IconsManager $icon;
     protected string $plural;
 
     protected string $taxonomy;
@@ -43,7 +43,7 @@
         $this->id = sanitize_key($id);
         $this->taxonomy = jvbCheckBase($taxonomy);
         $this->name = str_replace(BASE, '', $taxonomy);
-        $this->icon = new JVBIcons();
+        $this->icon = IconsManager::getInstance();
         $this->cache = CacheManager::for(jvbNoBase($taxonomy), WEEK_IN_SECONDS);
 
         $this->base = $config['base'] ?? '';

--
Gitblit v1.10.0