From 2a0d2d2f7d405f825eaab5a1b1e0c71a97e372dd Mon Sep 17 00:00:00 2001 From: bengizmo Date: Mon, 28 Jul 2025 10:37:34 -0300 Subject: [PATCH] fix: Prevent event creation content from appearing on registration page The manage event JavaScript was running on all pages and injecting "Create Event" header and instructions into any page with matching content selectors. Added URL path checking to ensure the JavaScript only runs on the actual manage event pages. This fixes the issue where the registration page was showing event creation content instead of just the registration form. Co-Authored-By: Ben Reed --- includes/class-hvac-manage-event.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/includes/class-hvac-manage-event.php b/includes/class-hvac-manage-event.php index c05c112f..2df38786 100644 --- a/includes/class-hvac-manage-event.php +++ b/includes/class-hvac-manage-event.php @@ -468,6 +468,19 @@ class HVAC_Manage_Event {