From f5ccb9085c3dff1423c48811ae838d7e91515532 Mon Sep 17 00:00:00 2001 From: bengizmo Date: Mon, 19 May 2025 18:05:40 -0300 Subject: [PATCH] fix: Resolve Login Page shortcode processing issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix the Trainer Login page to directly use Login_Handler class - Skip shortcode processing and call render_login_form directly - Ensure Login_Handler class is loaded before rendering the form The issue was that the shortcode registration mechanism wasn't working properly between the namespace and the static/non-static method calls. By directly instantiating the Login_Handler class and calling the render method, we bypass the shortcode system and directly render the login form. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../templates/page-community-login.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/page-community-login.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/page-community-login.php index 4bd107e6..d2ad8882 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/page-community-login.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/page-community-login.php @@ -18,7 +18,13 @@ get_header(); ?>
render_login_form(array()); ?>