From f859e64a57c624ff2daa2b21355f65a49fd4807d Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 29 Aug 2026 03:09:12 +0000
Subject: [PATCH] =Some more tweaks. Mostly on the MenuBlock and adding the Meta.php to WooCommerce Products
---
inc/integrations/SyncToPost.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/integrations/SyncToPost.php b/inc/integrations/SyncToPost.php
index 17e93cd..281db8c 100644
--- a/inc/integrations/SyncToPost.php
+++ b/inc/integrations/SyncToPost.php
@@ -27,7 +27,7 @@
public function handleSavePost(int $postID, WP_Post $post, bool $update):void
{
if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return;
- if (wp_is_post_revision($postID)) return;
+ if (wp_is_post_revision($postID) || wp_is_post_autosave($postID)) return;
error_log('=== ['.$this->service_name.']::handleSavePost called');
--
Gitblit v1.10.0