From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
inc/managers/SEO/render/Traits/_Properties/opensTrait.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/inc/managers/SEO/render/Traits/_Properties/opensTrait.php b/inc/managers/SEO/render/Traits/_Properties/opensTrait.php
index c27b70a..493b3f3 100644
--- a/inc/managers/SEO/render/Traits/_Properties/opensTrait.php
+++ b/inc/managers/SEO/render/Traits/_Properties/opensTrait.php
@@ -16,8 +16,11 @@
{
return $this->opens??null;
}
- public function setOpens(Time $opens):void
+ public function setOpens(Time|string $opens):void
{
+ if (is_string($opens)) {
+ $opens = new Time($opens);
+ }
$this->opens = $opens;
}
}
--
Gitblit v1.10.0