From 1aa7c404dae63c9518468fe9b579fad819f8d871 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 13 Sep 2026 18:32:43 +0000
Subject: [PATCH] =Single Event page setup done through the new Event block. Currently working on the Simple Calendar block setup
---
inc/meta/Meta.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/inc/meta/Meta.php b/inc/meta/Meta.php
index a9412c5..47264d9 100644
--- a/inc/meta/Meta.php
+++ b/inc/meta/Meta.php
@@ -86,6 +86,9 @@
'user' => get_user_meta($this->ID),
default => []
};
+
+ $this->fields = array_map(fn($values) => is_array($values) ? $values[0] : $values, $this->fields);
+
$this->fields = array_combine(
array_map('jvbNoBase', array_keys($this->fields)),
$this->fields
--
Gitblit v1.10.0