From 42fa8304ddb811b0f725f245130f70c0f5e86a6c Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 04 Nov 2025 06:12:02 +0000
Subject: [PATCH] =Refactored LoginManager to be more extensible and configurable, as well as an AjaxRateLimiter

---
 templates/dashboard/sections/news.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/templates/dashboard/sections/news.php b/templates/dashboard/sections/news.php
index f9c06b0..299b027 100644
--- a/templates/dashboard/sections/news.php
+++ b/templates/dashboard/sections/news.php
@@ -1,4 +1,7 @@
 <?php
+
+use JVBase\managers\CacheManager;
+
 if (!defined('ABSPATH')) {
     exit; // Exit if accessed directly
 }
@@ -6,7 +9,7 @@
     wp_redirect(get_home_url(null, '/dash'));
     exit;
 }
-$cache = new JVBase\managers\CacheManager('news', 3600);
+$cache = CacheManager::for('news', 3600);
 $check = $cache->get('type-options');
 
 if ($check) {

--
Gitblit v1.10.0