inc/blocks/GlossaryBlock.php
@@ -22,7 +22,7 @@ public function __construct() { $this->cache = Cache::for('glossary_terms', WEEK_IN_SECONDS)->connect('post', true); $this->cache = Cache::for('glossary_terms', 'post', WEEK_IN_SECONDS); add_action('init', [ $this, 'registerBlock' ]); }