Replies: 0
I found another time zone bug. “Stop Sales Before Show” doesn’t work properly. It’s apparently been luck that no one has bought a ticket online in between printing our ticket lists and the start of the show until now. I don’t know what version introduced this bug, just that it used to work.
The problem in post-type.class.php in check_event_sale_time function.
$time = current_time('timestamp');
should be:
$time = current_time('timestamp', 1);
Before it is comparing GMT with local time. With the second argument 1 in current_time the script compares GMT with GMT.