From 2a2303d1dccc120dd7aa5f6b6ade0f89e0064850 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 25 Nov 2025 07:42:23 +0000
Subject: [PATCH] =Feed block mostly good! Referrals look good to go. Ready for Madi and Heidi to approve
---
cleanup.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/cleanup.php b/cleanup.php
index 87c9092..6444cb4 100644
--- a/cleanup.php
+++ b/cleanup.php
@@ -44,7 +44,9 @@
}
// Remove block-specific scripts and modules
- wp_deregister_script('heartbeat');
+ if (!is_admin()) {
+ wp_deregister_script('heartbeat');
+ }
wp_dequeue_script('wp-block-template-skip-link');
// Remove WordPress 6.5+ script modules
--
Gitblit v1.10.0