From 88d9e0e2b7997eb0c96dc737082c91b4e3f7ca6e Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 17 Jun 2026 15:10:37 +0000
Subject: [PATCH] =Fixed for single image upload fields populating the image meta. Need to check galleries now.

---
 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