From 1c580d5b009d1b3f23257a069d4b4b2d9bc08d6f Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Wed, 24 Apr 2024 12:08:33 +1000 Subject: [PATCH] Consider draft tickets sold for the purposes of ticketing. --- 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 290c3c118..4167a24ac 100644 --- a/public_html/wp-content/plugins/camptix/camptix.php +++ b/public_html/wp-content/plugins/camptix/camptix.php @@ -6881,7 +6881,7 @@ function get_purchased_tickets_count( $post_id, $via_reservation = false ) { $attendees = new WP_Query( array( 'post_type' => 'tix_attendee', 'posts_per_page' => 1, - 'post_status' => array( 'publish', 'pending' ), + 'post_status' => array( 'publish', 'pending', 'draft' ), 'meta_query' => $meta_query, ) );