From 2a2303d1dccc120dd7aa5f6b6ade0f89e0064850 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 25 Nov 2025 07:42:23 +0000
Subject: [PATCH] =Feed block mostly good! Referrals look good to go. Ready for Madi and Heidi to approve

---
 inc/rest/routes/FeedRoutes.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/inc/rest/routes/FeedRoutes.php b/inc/rest/routes/FeedRoutes.php
index daadec6..f871502 100644
--- a/inc/rest/routes/FeedRoutes.php
+++ b/inc/rest/routes/FeedRoutes.php
@@ -353,6 +353,9 @@
 				]
 			);
 		}
+		if (array_key_exists('taxonomy', $data) && is_string($data['taxonomy'])) {
+			$data['taxonomy'] = json_decode($data['taxonomy'], true);
+		}
 		$args = $this->applyContextFilters($args, $data);
 		$args = $this->applyTaxonomyFilters($args, $data);
 		$args = $this->applyOrderFilters($args, $data);
@@ -420,7 +423,7 @@
 		if ($cache_check) {
 			return $cache_check; // Returns 304 Not Modified
 		}
-		error_log('Feed Request Args: '.print_r($args, true));
+
 		$key = $this->cache->generateKey($args);
 		$cached = $this->cache->get($key);
 		if ($cached) {

--
Gitblit v1.10.0