The registration page (ID 5334 on staging) was incorrectly matched by
HVAC_Event_Manager::isManagePage() which had is_page(5334) as a legacy
check. This caused non-logged-in users to be redirected to the login
page instead of seeing the public registration form. Removed hardcoded
page IDs from isManagePage() and isEditPage() in favor of URL/slug
detection which is environment-independent.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>