Jake Vanderwerf
2026-08-26 18e7e415339ccc9adf8ade562f93abef606da16d
inc/blocks/SimpleCalendarBlock.php
@@ -30,7 +30,7 @@
    public function __construct()
    {
        $this->cache = Cache::for('menu', DAY_IN_SECONDS)->connect('post');
        $this->cache = Cache::for('calendar', 'post',  DAY_IN_SECONDS);
        add_action('init', [ $this, 'registerBlock' ]);
    }
@@ -82,10 +82,9 @@
         return '';
      }
      $key = $this->cache->generateKey($this->params);
      $this->cache->flush();
      return $this->cache->remember(
         $key,
         $this->params,
         function() {
            ob_start();
            $this->renderBlock();