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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/registrar/Posts.php b/inc/registrar/Posts.php
index de0f72a..8922af7 100644
--- a/inc/registrar/Posts.php
+++ b/inc/registrar/Posts.php
@@ -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