From a6413da67a4579866f0fd0323ddb23a7b6b9654a Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 18 Sep 2026 17:00:53 +0000
Subject: [PATCH] =Cleaning up the Integrations setup a bit, started the Helcim integration work too
---
inc/registrar/Posts.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/inc/registrar/Posts.php b/inc/registrar/Posts.php
index bedacaa..ef9e3f3 100644
--- a/inc/registrar/Posts.php
+++ b/inc/registrar/Posts.php
@@ -2,6 +2,7 @@
namespace JVBase\registrar;
use JVBase\forms\TaxonomySelector;
+use JVBase\inc\managers\ErrorHelper;
use JVBase\managers\Errors;
use WP_Post;
@@ -9,6 +10,7 @@
exit;
}
final class Posts {
+ use ErrorHelper;
public string $postType;
public string $singular;
public string $plural;
@@ -358,7 +360,7 @@
}
if (is_wp_error($registered)) {
- Errors::getInstance()->log('JVBase\registrar\Posts', 'Could not register post type', $registered->get_error_messages());
+ $this->logError('Could not register post type', 'register', $registered->get_error_messages());
}
}
--
Gitblit v1.10.0