From ac444cba221832c012c0435fdc8339fe9f37febb Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 11 May 2026 18:35:04 +0000
Subject: [PATCH] =Some changes to the CRUD.js editing, timeline post configuration
---
inc/meta/Meta.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/meta/Meta.php b/inc/meta/Meta.php
index 371a059..a6594a7 100644
--- a/inc/meta/Meta.php
+++ b/inc/meta/Meta.php
@@ -104,8 +104,9 @@
'post' => get_post($id),
'term' => get_term($id),
'user', 'integrations' => get_userdata($id),
- default => null
+ default => false
};
+
$this->slug = match($type) {
'post' => $this->wpObject->post_type,
'term' => $this->wpObject->taxonomy,
@@ -250,7 +251,6 @@
public function setAll(array $data):bool
{
foreach ($data as $name => $value) {
- error_log('Setting '.$name.' with value: '.print_r($value, true));
$this->set($name, $value, false);
}
return $this->save();
--
Gitblit v1.10.0