From c68aefb847b09daa0697de7684d3451e2e68ce1e Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 09 Jul 2026 23:10:23 +0000
Subject: [PATCH] =Refactor of Integrations.php to be a bit more useful with a suite of methods for create, update, delete back and forths for integrations where sharing is enabled. Also considering a single instance with a connect method to connect as the site (no user) vs connecting as an individual user - rather than recreating instances for every user.
---
cleanup.php | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/cleanup.php b/cleanup.php
index 8aef5fa..1fd7797 100644
--- a/cleanup.php
+++ b/cleanup.php
@@ -57,9 +57,11 @@
}
wp_dequeue_script('wp-block-template-skip-link');
- // Remove WordPress 6.5+ script modules
- wp_dequeue_script_module('@wordpress/interactivity');
- wp_deregister_script_module('@wordpress/interactivity');
+ if (!is_plugin_active('woocommerce/woocommerce.php')) {
+ wp_dequeue_script_module('@wordpress/interactivity');
+ wp_deregister_script_module('@wordpress/interactivity');
+ }
+
wp_dequeue_script_module('@wordpress/block-library/navigation/view');
wp_deregister_script_module('@wordpress/block-library/navigation/view');
--
Gitblit v1.10.0