From 48721c85ebcfa973ee81719d2467ca80e4253dc9 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 01 May 2026 17:30:03 +0000
Subject: [PATCH] =Edmonton Ink hard test begins! Real testing of the managers and reset routes will commence. So far, just ensuring our classes are all loaded correctly: Site() and its sub-classes Membership, Login, etc. Care should be taken to load conditionally on 'init', as we finish defining most settings by 'plugins_loaded' at priority 5

---
 inc/meta/Meta.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/inc/meta/Meta.php b/inc/meta/Meta.php
index 371a059..a32c545 100644
--- a/inc/meta/Meta.php
+++ b/inc/meta/Meta.php
@@ -106,6 +106,10 @@
 			'user', 'integrations' => get_userdata($id),
 			default => null
 		};
+		if (!$this->wpObject){
+			return;
+		}
+
 		$this->slug = match($type) {
 			'post'	=> $this->wpObject->post_type,
 			'term'	=> $this->wpObject->taxonomy,

--
Gitblit v1.10.0