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/managers/DirectoryManager.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/managers/DirectoryManager.php b/inc/managers/DirectoryManager.php
index 856eab8..a8b7a43 100644
--- a/inc/managers/DirectoryManager.php
+++ b/inc/managers/DirectoryManager.php
@@ -21,7 +21,7 @@
if (empty(jvbGlobalDirectories())) {
return;
}
- $this->cache = new CacheManager('directory', WEEK_IN_SECONDS);
+ $this->cache = CacheManager::for('directory', WEEK_IN_SECONDS);
add_action('init', [$this, 'registerDirectories']);
jvb_register_do_once('directories_registered', [$this, 'activate']);
@@ -47,7 +47,7 @@
'not_found' => "No {$plural} found",
'not_found_in_trash' => "No {$plural} found in Trash"
],
- 'menu_icon' => jvbCSSIcon('asc'),
+ 'menu_icon' => jvbCSSIcon('sort-ascending'),
'public' => true,
'publicly_queryable' => true,
'show_in_menu' => true,
--
Gitblit v1.10.0