From b38f03c0e7218762d90fa5092696b127f24f36db Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 25 Jan 2026 07:07:26 +0000
Subject: [PATCH] =Some logical flaws in Queue.php, Queue.js, ContentExecutor.php, UploadExecutor.php - particularly with timeline ordering, frontend queue updates, etc
---
inc/forms/PostSelector.php | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/inc/forms/PostSelector.php b/inc/forms/PostSelector.php
index 0df418f..6f4ed7c 100644
--- a/inc/forms/PostSelector.php
+++ b/inc/forms/PostSelector.php
@@ -1,7 +1,7 @@
<?php
namespace JVBase\forms;
-use JVBase\managers\CacheManager;
+use JVBase\managers\Cache;
use WP_REST_Request;
use WP_REST_Response;
use WP_Query;
@@ -18,12 +18,12 @@
{
protected string $post_type;
protected array $config;
- protected CacheManager $cache;
+ protected Cache $cache;
public function __construct(string $post_type, array $config = [])
{
$this->post_type = $post_type;
- $this->cache = CacheManager::for(jvbNoBase($post_type), WEEK_IN_SECONDS);
+ $this->cache = Cache::for(jvbNoBase($post_type), WEEK_IN_SECONDS)->connect('post', true);
$this->config = wp_parse_args($config, [
'multiple' => true,
@@ -48,9 +48,6 @@
*/
public function render(array $selected = [], string $containerId = ''): string
{
- // Mark that selectors are present for footer output
- TaxonomySelector::markSelectorsPresent();
-
// Process selected posts
$processedSelected = $this->processSelectedPosts($selected);
--
Gitblit v1.10.0