From ed57c386db34d8693ca75311972d0929ebe5f488 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 01 Jun 2026 22:23:19 +0000
Subject: [PATCH] =Added some more Schema classes, allowed for override of array in outputSchema for complex schema, as for timeline post types
---
jvb.php | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/jvb.php b/jvb.php
index 4e33269..226515f 100644
--- a/jvb.php
+++ b/jvb.php
@@ -20,6 +20,17 @@
exit;
}
+//add_action('admin_enqueue_scripts', function() {
+// global $wp_scripts;
+// add_action('admin_print_scripts', function() use ($wp_scripts) {
+// $queue = $wp_scripts->queue ?? [];
+// foreach ($queue as $handle) {
+// $src = $wp_scripts->registered[$handle]->src ?? 'unknown';
+// error_log("Enqueued: $handle => $src");
+// }
+// }, 999);
+//}, 999);
+
/**
* Track REST API errors by wrapping request execution
@@ -84,6 +95,7 @@
define('JVB_TESTING', str_contains(get_home_url(),'.test'));
+//const JVB_TESTING = false;
//if (!JVB_TESTING) {
add_filter('show_admin_bar', '__return_false');
@@ -463,6 +475,8 @@
jvbAddScriptDependency('jvb-forms-view-script', 'jvb-quill');
jvbAddScriptDependency('jvb-forms-view-script', 'jvb-form');
jvbAddScriptDependency('jvb-forms-view-script', 'jvb-tabs');
+
+ jvbAddScriptDependency('jvb-timeline-view-script', 'jvb-gallery');
}
function jvbAdminMap():void
--
Gitblit v1.10.0