Jake Vanderwerf
2026-07-10 f94860aacd6200fb24c9e7431eb379a368cb392d
inc/registrar/helpers/MakeTimelineType.php
@@ -12,11 +12,9 @@
class MakeTimelineType {
   protected string $slug;
   protected string $postType;
   protected Registrar $registrar;
   public function __construct(string $slug, Registrar $registrar) {
   public function __construct(string $slug) {
      $this->slug = $slug;
      $this->postType = jvbCheckBase($slug);
      $this->registrar = $registrar;
      add_action('template_redirect', [$this, 'redirectChildToParent']);
   }