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
---
checks.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks.php b/checks.php
index 4339047..5fd3fe9 100644
--- a/checks.php
+++ b/checks.php
@@ -1,6 +1,6 @@
<?php
-use JVBase\base\Options;
+use JVBase\base\options;
use JVBase\base\Site;
use JVBase\managers\Cache;
use JVBase\registrar\Registrar;
@@ -25,10 +25,10 @@
if (!Site::has('limit_hours')) {
return true;
}
- if (Options::get('open_to_public') !== '1') {
+ if ( options::get('open_to_public') !== '1') {
return false;
}
- if (!empty(Options::get('today_hours'))) {
+ if (!empty(options::get('today_hours'))) {
return jvbIsTimeBetween();
}
return jvbIsCurrentlyOpen();
--
Gitblit v1.10.0