Jake Vanderwerf
5 days ago 0dfe1d8afafc59c4a5559c498342668d5a58d6ef
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']);
   }