inc/blocks/MenuBlock.php
@@ -27,7 +27,7 @@ public function __construct() { $this->cache = CacheManager::for('menu', WEEK_IN_SECONDS); $this->cache = CacheManager::for('menu', WEEK_IN_SECONDS)->connectTo('post', 'menu_item'); add_action('init', [ $this, 'registerBlock' ]); }