From b0194e10a87e16797a568d8a30d53ebecd27d8a4 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 18 Oct 2025 15:04:51 +0000
Subject: [PATCH] =DataStore.js and UploaderManager.js overhaul

---
 inc/rest/routes/TermRoutes.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/inc/rest/routes/TermRoutes.php b/inc/rest/routes/TermRoutes.php
index 269dc2a..da8f52c 100644
--- a/inc/rest/routes/TermRoutes.php
+++ b/inc/rest/routes/TermRoutes.php
@@ -409,9 +409,12 @@
             $formatted_terms[] = [
                 'id' => $term->term_id,
                 'name' => $term->name,
+				'slug'	=> $term->slug,
                 'parent' => $term->parent,
                 'path' => $this->getTermPath($term->term_id, $term->name, $taxonomy),
                 'hasChildren' => $has_children,
+				'taxonomy'	=> $term->taxonomy,
+				'count'		=> $term->count,
             ];
         }
 

--
Gitblit v1.10.0