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/rest/routes/ContentRoutes.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/inc/rest/routes/ContentRoutes.php b/inc/rest/routes/ContentRoutes.php
index bbdc9a5..9a1eae9 100644
--- a/inc/rest/routes/ContentRoutes.php
+++ b/inc/rest/routes/ContentRoutes.php
@@ -36,7 +36,7 @@
     {
         $this->cache_name = 'user_content_'.get_current_user_id();
         parent::__construct();
-
+		$this->cache->clear();
         $this->action = 'dash-';
         $this->operation_type = 'content_update';
         add_filter(BASE.'handle_bulk_operation', [$this, 'processOperation'], 10, 3);
@@ -297,7 +297,6 @@
 
 
         $cache = $this->cache->get($key);
-		$cache = false;
         if ($cache) {
             $response = new WP_REST_Response($cache);
 			return $this->addCacheHeaders($response);

--
Gitblit v1.10.0