Jake Vanderwerf
8 days ago 3b83905603d44b1a08f8b2b36a605808ce686ad6
inc/registrar/config/seo/Schema.php
@@ -277,7 +277,7 @@
               $class->setIsPartOf(get_home_url().'/#website');
               $itemList = new render\Thing\Intangible\ItemList\ItemList();
               $items = new WP_Query([
                  'post_type'    => jvbCheckBase($this->slug),
                  'post_type'    => $registrar->getBased(),
                  'posts_per_page'=> 25,
                  'post_status'  => 'publish',
                  'fields'    => 'ids'
@@ -317,6 +317,13 @@
      $cached = $this->referenceCache->remember(
         $ID,
         function () use ($ID, $type) {
            $postType = get_post_type($ID);
            $function = BASE.'build_singular_'.jvbNoBase($postType).'_schema_reference';
            if (function_exists($function)) {
               return $function($ID);
            }
            switch ($type) {
               case 'post':
                  $meta = Meta::forPost($ID);
@@ -333,7 +340,10 @@
            }
            $config = $this->getConfig();
            $class = JVB()->schemaHelper()::classFromConfig($config, $meta);
            $class->delete('about');
            if ($class) {
               $class->delete('about');
            }
            switch ($type) {
               case 'post':