Jake Vanderwerf
2026-01-01 5b5f37de365ff84fc231e414a719d1b2ff4ceff6
inc/blocks/GlossaryBlock.php
@@ -24,7 +24,7 @@
   public function __construct()
   {
      $this->cache = CacheManager::for('glossary_terms', WEEK_IN_SECONDS);
      $this->cache = CacheManager::for('glossary_terms', WEEK_IN_SECONDS)->connectTo('post', 'terms');
      add_action('init', [ $this, 'registerBlock' ]);
   }
@@ -38,7 +38,6 @@
   public function render(array $attributes, string $content, WP_Block $block)
   {
      $cache = $this->cache->get('all');
      $cache = false;
      if ($cache) {
         return $cache;
      }