Skip to content

Commit

Permalink
Replace the wordcamp close reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Oct 21, 2024
1 parent a697b59 commit c986082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/wp-content/plugins/camptix/camptix.php
Original file line number Diff line number Diff line change
Expand Up @@ -6875,7 +6875,7 @@ function is_ticket_valid_for_purchase( $post ) {
$end_date = absint( $wordcamp->meta['End Date (YYYY-mm-dd)'][0] ?? 0 );

// Event is finalised.
if ( $wordcamp && 'wcpt-closed' === $wordcamp->post_status ) {
if ( $this->is_wordcamp_closed() ) {
return false;
}

Expand Down

0 comments on commit c986082

Please sign in to comment.