added $wpdb query in a save_post hook for changing the post_date for tickets when they move from open to close