From c3b65b29077eab4449c3234de8335b8cd1c1bf2f Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 29 Oct 2024 02:53:29 +0900 Subject: [PATCH] Fix purchase date error --- public_html/wp-content/plugins/camptix/camptix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/wp-content/plugins/camptix/camptix.php b/public_html/wp-content/plugins/camptix/camptix.php index 1d62569fd..95e5f63f9 100644 --- a/public_html/wp-content/plugins/camptix/camptix.php +++ b/public_html/wp-content/plugins/camptix/camptix.php @@ -8619,7 +8619,7 @@ function log_ticket_purchase_on_user_profile( $attendee ) { $ticket_id = intval( get_post_meta( $attendee->ID, 'tix_ticket_id', true ) ); $ticket = get_post( $ticket_id ); $ticket_type = $ticket->post_title; - $purchase_date = esc_html( mysql2date( get_option( 'date_format' ), $attendee->post_date ) ); + $purchase_date = $attendee->post_date; $edit_token = get_post_meta( $attendee->ID, 'tix_edit_token', true ); $edit_link = $this->get_edit_attendee_link( $attendee->ID, $edit_token ); $total_price = $this->append_currency( (float) get_post_meta( $attendee->ID, 'tix_order_total', true ), false );