inc/blocks/FeedBlockOld.php
@@ -22,9 +22,7 @@ { // Initialize cache with connections $this->cache = Cache::for('feed_block', WEEK_IN_SECONDS); if (JVB_TESTING) { $this->cache->flush(); } add_action('init', [$this, 'registerBlock']); } @@ -117,7 +115,7 @@ $this->config = $this->buildParams($attributes); return $this->cache->remember( $this->cache->generateKey($this->config), $this->config, function() { return $this->renderBlock(); }