Jake Vanderwerf
2026-01-25 b38f03c0e7218762d90fa5092696b127f24f36db
templates/dashboard/sections/news.php
@@ -1,6 +1,6 @@
<?php
use JVBase\managers\CacheManager;
use JVBase\managers\Cache;
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
@@ -9,7 +9,7 @@
    wp_redirect(get_home_url(null, '/dash'));
    exit;
}
$cache = CacheManager::for('news', 3600);
$cache = Cache::for('news', 3600);
$check = $cache->get('type-options');
if ($check) {
@@ -24,7 +24,7 @@
        foreach ($terms as $term) {
            $typeOptions[] = [
                'id'    => $term->term_id,
                'name'    => $term->name,
                'name'    => html_entity_decode($term->name),
                'count'    => $term->count,
            ];
        }