From 32ce5c542c90be348895328078e392dde2052957 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 04 Sep 2026 19:15:16 +0000
Subject: [PATCH] =Working at adding defined fields to a dedicated panel in the gutenberg editor. Registrar now has AddCustomFields.php, which currently only supports post fields. Added a @wordpress/plugins base _meta/fields in /build and /src that successfully creates a panel. Next steps: determine sections and fields, group fields by section (each section to a panel), and save output

---
 inc/managers/NewsRelationships.php |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/inc/managers/NewsRelationships.php b/inc/managers/NewsRelationships.php
index f42f22b..5d12beb 100644
--- a/inc/managers/NewsRelationships.php
+++ b/inc/managers/NewsRelationships.php
@@ -1,7 +1,7 @@
 <?php
 namespace JVBase\managers;
 
-use JVBase\JVB;
+use JVBase\managers\queue\Queue;
 use WP_Post;
 use WP_Term;
 use WP_Query;
@@ -15,7 +15,6 @@
  */
 class NewsRelationships
 {
-	private CustomTable $relationships;
 	protected Cache $cache;
 
     public function __construct()
@@ -367,7 +366,7 @@
      * Get all artists with news post counts
      * @return array
      */
-    public function getAllArtistsWithNews():int
+    public function getAllArtistsWithNews():array
     {
         global $wpdb;
 
@@ -645,7 +644,7 @@
     }
 
     /**
-     * @param WP_Error $result
+     * @param WP_Error|array $result
      * @param object $operation
      * @param array $data
      *

--
Gitblit v1.10.0