From 8bc7d296510754e4157b201e5d2021a76436592f Mon Sep 17 00:00:00 2001 From: StevenDufresne Date: Wed, 23 Oct 2024 11:42:25 +0900 Subject: [PATCH] Don't show if we have a tix_action set. --- public_html/wp-content/plugins/camptix/addons/require-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/wp-content/plugins/camptix/addons/require-login.php b/public_html/wp-content/plugins/camptix/addons/require-login.php index 981005b46..a25b258f3 100644 --- a/public_html/wp-content/plugins/camptix/addons/require-login.php +++ b/public_html/wp-content/plugins/camptix/addons/require-login.php @@ -125,7 +125,7 @@ public function ticket_form_message() { } // Warn users that they will need to login to purchase a ticket - if ( ! is_user_logged_in() ) { + if ( ! is_user_logged_in() && ! isset( $_REQUEST['tix_action'] ) ) { $camptix->notice( apply_filters( 'camptix_require_login_please_login_message', sprintf(