Jake Vanderwerf
2026-09-15 bdf344f19158a980a99dcca7c82c6e34e84533c0
=Found little glitch with auto-adding rewrite rules to taxonomy Registrar instances where we have the post type as the base in the url rewrite
2 files modified
5 ■■■■■ changed files
inc/blocks/SimpleCalendarBlock.php 4 ●●●●● patch | view | raw | blame | history
inc/managers/Dashboard/Dashboard.php 1 ●●●●● patch | view | raw | blame | history
inc/blocks/SimpleCalendarBlock.php
@@ -230,7 +230,7 @@
            $dates = $this->getDateNavigation();
            if (!is_post_type_archive($this->firstContent()) || $this->isDatedArchive()) {
            if (is_tax() || !is_post_type_archive($this->firstContent()) || $this->isDatedArchive()) {
                echo sprintf(
                    '<a href="%s" class="btn chip">All Events</a>',
                    get_post_type_archive_link($this->firstContent())
@@ -366,7 +366,7 @@
        if (is_singular()) {
            return $this->formatSingular();
        }
        $items = new WP_Query($this->buildArgs($past));
        $events = implode('', array_map([$this, 'formatItem'], $items->posts));
inc/managers/Dashboard/Dashboard.php
@@ -47,6 +47,7 @@
                'supports'      => [ 'title', 'editor', 'custom-fields'],
                'hierarchical'  => true,
                'has_archive'   => true,
                'public'        => false,
            ])->setAll([
                'system'
            ]);