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
---
inc/blocks/MenuBlock.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/blocks/MenuBlock.php b/inc/blocks/MenuBlock.php
index b79d9ff..e6ba1e2 100644
--- a/inc/blocks/MenuBlock.php
+++ b/inc/blocks/MenuBlock.php
@@ -27,7 +27,7 @@
public function __construct()
{
- $this->cache = new CacheManager('menu', WEEK_IN_SECONDS);
+ $this->cache = CacheManager::for('menu', WEEK_IN_SECONDS);
add_action('init', [ $this, 'registerBlock' ]);
}
--
Gitblit v1.10.0