From 474109a5df0a06f5343ab184838fe2d80e3872a8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 11 Jan 2026 19:23:20 +0000
Subject: [PATCH] =Fixed timeline CRUD.js issue where this.activeItem was set null when we still needed it
---
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