From 474109a5df0a06f5343ab184838fe2d80e3872a8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 11 Jan 2026 19:23:20 +0000
Subject: [PATCH] =Fixed timeline CRUD.js issue where this.activeItem was set null when we still needed it
---
inc/registry/MakeCalendarType.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/registry/MakeCalendarType.php b/inc/registry/MakeCalendarType.php
index 61411ef..5025e17 100644
--- a/inc/registry/MakeCalendarType.php
+++ b/inc/registry/MakeCalendarType.php
@@ -64,7 +64,7 @@
public function handlePostTypeArchiveLinks(string $url, string $post_type):string
{
if ($post_type === $this->postType) {
- $url = get_home_url(2, '/' . $this->slug . '/');
+ $url = get_home_url(null, '/' . $this->slug . '/');
}
return $url;
}
--
Gitblit v1.10.0