Jake Vanderwerf
2026-08-30 a58a2e7ca4700d3e23341fde767060a4c2c704a3
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' ]);
   }
@@ -91,7 +91,7 @@
      $glossary = [];
      if ($posts->have_posts()) {
         foreach($posts->posts as $post) {
//          $meta = new MetaManager($post, 'post');
//          $meta = Meta::forPost($post);
//          $fields = $meta->getAll();
//          $glossary[$fields['post_slug']] = $fields;
            $glossary[$post->post_name] = [