Jake Vanderwerf
2026-01-01 3acb42faee66868a76e653a34ef35de13ddf734f
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)->connectTo('post', 'menu_item');
        add_action('init', [ $this, 'registerBlock' ]);
    }
@@ -58,7 +58,6 @@
      }
      $key = $this->cache->generateKey($this->params);
        $cache = $this->cache->get($key);
        $cache = false;
        if ($cache) {
            return $cache;
        }