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 4a23c26af..ba70b1b15 100644 --- a/public_html/wp-content/plugins/camptix/addons/require-login.php +++ b/public_html/wp-content/plugins/camptix/addons/require-login.php @@ -436,7 +436,7 @@ public function use_custom_email_templates( $template, $attendee ) { if ( $unknown_attendee_info['email'] == get_post_meta( $attendee->ID, 'tix_email', true ) ) { $template = 'email_template_multiple_purchase_unknown_attendee'; - } elseif ( self::UNCONFIRMED_USERNAME == get_post_meta( $attendee->ID, 'tix_username', true ) ) { + } elseif ( $this->user_must_confirm_ticket( $attendee->ID ) ) { $template = 'email_template_multiple_purchase_unconfirmed_attendee'; } @@ -761,7 +761,7 @@ public function update_attendee_post_meta( $new_ticket_info, $attendee ) { * @return string */ public function rename_save_attendee_info_label( $label, $attendee, $ticket, $questions ) { - if ( self::UNCONFIRMED_USERNAME == get_post_meta( $attendee->ID, 'tix_username', true ) ) { + if ( $this->user_must_confirm_ticket( $attendee->ID ) ) { $label = __( 'Confirm Registration', 'wordcamporg' ); }