Jake Vanderwerf
2026-03-29 9f672be1f7bb5f8462374ca4732d095d4f24685b
=minor fixes upon uploading to server
1 files renamed
5 files modified
23 ■■■■ changed files
base/seo.php 3 ●●●● patch | view | raw | blame | history
inc/blocks/FeedBlock.php 6 ●●●●● patch | view | raw | blame | history
inc/managers/SEO/render/Thing/CreativeWork/VisualArtwork/VisualArtwork.php 2 ●●● patch | view | raw | blame | history
inc/managers/SEO/render/Traits/_Properties/artFormTrait.php 2 ●●● patch | view | raw | blame | history
inc/registrar/Terms.php 8 ●●●●● patch | view | raw | blame | history
inc/registrar/config/seo/Schema.php 2 ●●●●● patch | view | raw | blame | history
base/seo.php
@@ -75,7 +75,7 @@
    public static function archive(string $type): array
    {
        $type = self::checkType($type, '[SchemaHelper]::archive');
        error_log('[SchemaHelper]::archive type: '.print_r($type, true));
        if (!$type) {
            return [];
        }
@@ -120,6 +120,7 @@
            },
            'archive' => [
                'type'  => 'JVBase\managers\SEO\render\Thing\CreativeWork\WebPage\CollectionPage',
                'name'  => '{{name}}'
            ],
            default => [],
        };
inc/blocks/FeedBlock.php
@@ -98,10 +98,12 @@
        foreach ($content as $contentType) {
            $registrar = Registrar::getInstance($contentType);
            if (!$registrar) {
                continue;
            }
            $contentTaxonomies = $registrar->registrar->taxonomies;
            $contentTaxonomies = array_filter($contentTaxonomies, function($taxonomy) {
                return Registrar::getInstance($taxonomy)->hasFeature('show_feed');
                return Registrar::getInstance($taxonomy)?->hasFeature('show_feed');
            });
            $taxonomies = array_merge($taxonomies, $contentTaxonomies);
        }
inc/managers/SEO/render/Thing/CreativeWork/VisualArtwork/VisualArtwork.php
@@ -3,7 +3,7 @@
use JVBase\managers\SEO\render\Thing\CreativeWork\CreativeWork;
use JVBase\managers\SEO\render\Traits\_Properties\artEditionTrait;
use JVBase\managers\SEO\render\Traits\_Properties\artformTrait;
use JVBase\managers\SEO\render\Traits\_Properties\artFormTrait;
use JVBase\managers\SEO\render\Traits\_Properties\artistTrait;
use JVBase\managers\SEO\render\Traits\_Properties\artMediumTrait;
use JVBase\managers\SEO\render\Traits\_Properties\artworkSurfaceTrait;
inc/managers/SEO/render/Traits/_Properties/artFormTrait.php
File was renamed from inc/managers/SEO/render/Traits/_Properties/artformTrait.php
@@ -4,7 +4,7 @@
if (!defined('ABSPATH')) {
    exit;
}
trait artformTrait {
trait artFormTrait {
    /**
     * @var string e.g. Painting, Drawing, Sculpture, Print, Photograph, Assemblage, Collage, etc.
     */
inc/registrar/Terms.php
@@ -113,6 +113,14 @@
     * @var array
     */
    public array $capabilities;
    /**
     * The URL to the icon to be used for this menu. Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme — this should begin with 'data:image/svg+xml;base64,'. Pass the name of a Dashicons helper class to use a font icon, e.g.
     * 'dashicons-chart-pie'. Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. Defaults to use the posts icon.
     * @var string
     */
    public string $menu_icon;
    /**
     * Triggers the handling of rewrites for this taxonomy. Default true, using $taxonomy as slug. To prevent rewrite, set to false. To specify rewrite rules, an array can be passed with any of these keys:
        * slug {string}     - Customize the permastruct slug. Default $taxonomy key.
inc/registrar/config/seo/Schema.php
@@ -400,6 +400,8 @@
            $config = $this->getConfig('archive');
            $meta = Meta::forTerm(get_queried_object_id());
            $title = Resolver::resolve($config['name'], $meta);
        } else {
            error_log('[Schema]::filterTSFOGTitle Unmatched condition: '.$this->slug);
        }
        return $title;
    }