From 16cb63b05910055c31dca821c86f2eb815da99e3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 12 May 2026 19:02:03 +0000
Subject: [PATCH] =Attempt to stop queue.js from constantly running poll cycle if the status is 429
---
inc/meta/Meta.php | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/inc/meta/Meta.php b/inc/meta/Meta.php
index a32c545..a6594a7 100644
--- a/inc/meta/Meta.php
+++ b/inc/meta/Meta.php
@@ -104,11 +104,8 @@
'post' => get_post($id),
'term' => get_term($id),
'user', 'integrations' => get_userdata($id),
- default => null
+ default => false
};
- if (!$this->wpObject){
- return;
- }
$this->slug = match($type) {
'post' => $this->wpObject->post_type,
@@ -254,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