From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
inc/rest/routes/FavouritesRoutes.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/inc/rest/routes/FavouritesRoutes.php b/inc/rest/routes/FavouritesRoutes.php
index 3494f5b..32d7866 100644
--- a/inc/rest/routes/FavouritesRoutes.php
+++ b/inc/rest/routes/FavouritesRoutes.php
@@ -37,10 +37,10 @@
parent::__construct();
// Set up cache connections
- $this->cache->connect('post')->connect('user')->connect('taxonomy');
- $this->listsCache = Cache::for('lists')->connect('favourites', true);
- $this->sharedListsCache = Cache::for('sharedLists')->connect('favourites', true);
- $this->favouritesCache = Cache::for('allFavourites')->connect('favourites', true);
+ $this->cache->connect('post')->connect('user')->connect('taxonomy')->user();
+ $this->listsCache = Cache::for('lists')->connect('favourites', true)->user();
+ $this->sharedListsCache = Cache::for('sharedLists')->connect('favourites', true)->user();
+ $this->favouritesCache = Cache::for('allFavourites')->connect('favourites', true)->user();
$this->valid_types = array_merge(Registrar::getRegistered('post'), Registrar::getRegistered('term'));
--
Gitblit v1.10.0