From ccf5e61a075c35d24befc175994b5cb8957ca322 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 26 Aug 2026 21:45:53 +0000
Subject: [PATCH] =Extra JVB() calls replaced, minor tweaks

---
 inc/registrar/Posts.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/registrar/Posts.php b/inc/registrar/Posts.php
index 3f0f3fe..8922af7 100644
--- a/inc/registrar/Posts.php
+++ b/inc/registrar/Posts.php
@@ -158,7 +158,7 @@
 	 * An array of taxonomy identifiers that will be registered for the post type. Taxonomies can be registered later with register_taxonomy() or register_taxonomy_for_object_type() .
 	 * @var array
 	 */
-	public array $taxonomies;
+	public array $taxonomies = [];
 	/**
 	 * Whether there should be post type archives, or if a string, the archive slug to use.
 	 * Will generate the proper rewrite rules if $rewrite is enabled. Default false.
@@ -356,7 +356,7 @@
 		}
 
 		if (is_wp_error($registered)) {
-			JVB()->error()->log('JVBase\registrar\Posts', 'Could not register post type', $registered->get_error_messages());
+			Errors::getInstance()->log('JVBase\registrar\Posts', 'Could not register post type', $registered->get_error_messages());
 		}
 	}
 

--
Gitblit v1.10.0