Jake Vanderwerf
2026-04-26 86c6cd3cc099d2480932ede03c12cea01e625c94
inc/registrar/config/seo/Schema.php
@@ -181,7 +181,6 @@
               $config = $this->getConfig();
               $class = JVB()->schemaHelper()::classFromConfig($config, $meta);
               $class->setAuthor(JVB()->seo()->getCreator(true));
               return $class->outputSchema();
            }
@@ -350,6 +349,8 @@
         error_log('[SEO]Schema::getConfig Invalid type: '.$type);
         return [];
      }
      jvbDump($this->slug);
      jvbDump($type);
      return JVB()->schemaHelper()::getConfig($this->slug, $type);
   }
@@ -399,7 +400,7 @@
         $config['type'] = $this->defaultSchema['type'];
         update_option(BASE.ucfirst($this->slug).'Schema', $config);
      }
      $class = $this->getConfig()['type'];
      $class = $config['type'];
      if (!class_exists($class)) {
         error_log('[SEO]Schema::defineReference Class not found: '.$class);
         return;
@@ -436,7 +437,7 @@
      if (is_singular($based)){
         $config = $this->getConfig('meta');
         $meta = Meta::forPost(get_the_ID());
         $title = Resolver::resolve($config['name']??$config['title'], $meta);
         $title = Resolver::resolve($config['name']??$config['title']??'', $meta);
      } elseif (is_post_type_archive($based) ) {
         $config = $this->getConfig('archive');
         $title = $config['name'];