From 235ce5716edc2f7cbe80fdccf26eac7269587839 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 08 Jun 2026 04:38:18 +0000
Subject: [PATCH] =FavouritesManager.php and FavouritesRoutes.php fixes. Moving all logic to FavouritesManager.php. Still some left to do
---
inc/registrar/helpers/MakeTimelineType.php | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/inc/registrar/helpers/MakeTimelineType.php b/inc/registrar/helpers/MakeTimelineType.php
index 84ea959..f8e2e49 100644
--- a/inc/registrar/helpers/MakeTimelineType.php
+++ b/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']);
}
--
Gitblit v1.10.0