From 3acb42faee66868a76e653a34ef35de13ddf734f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 01 Jan 2026 23:00:11 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb

---
 inc/forms/PostSelector.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/inc/forms/PostSelector.php b/inc/forms/PostSelector.php
index ee18b9a..0df418f 100644
--- a/inc/forms/PostSelector.php
+++ b/inc/forms/PostSelector.php
@@ -23,7 +23,7 @@
 	public function __construct(string $post_type, array $config = [])
 	{
 		$this->post_type = $post_type;
-		$this->cache = new CacheManager('posts');
+		$this->cache = CacheManager::for(jvbNoBase($post_type), WEEK_IN_SECONDS);
 
 		$this->config = wp_parse_args($config, [
 			'multiple' => true,

--
Gitblit v1.10.0