Jake Vanderwerf
2026-09-15 01e9a8e40351a87f6548a4f55de842d6f6918ad0
inc/registrar/Registrar.php
@@ -1312,8 +1312,10 @@
            $prefix = str_replace('//', '/', $prefix);
            $slug = str_contains($this->slug, '_') ? str_replace('_','-', $this->slug) : $this->slug;
            $slug = '';
            add_rewrite_rule(
               $base.$prefix.'/'.$slug.'/([a-z0-9-]+)/?$',
               $base.$prefix.'/'.$slug.'([a-z0-9-]+)/?$',
               'index.php?post_type='.$registrar->getBased().'&'.$this->based.'=$matches[1]',
               'top'
            );