5.31.0
2026-11-04 Feature1 Fix6 Language1 Tweak1Features
- Added relative sale dates for Tickets Commerce tickets on events in the classic and block editors, so ticket sales and the sale price can start and end a set time before the event and follow the event when its date changes, and blocked saving a ticket whose sales window or sale price window ends before it starts, or whose sale price window starts outside the sales window, with the reason shown under the window.
Fixes
- Gave an event copied with Yoast Duplicate Post its own seating ID, and its tickets their seat settings and relative sale dates.
- Included Tickets Commerce tickets whose sale price has no start or end date, or ends today, in the Discounted Tickets filter of the admin tickets list, and judged their sale price days in the event’s timezone.
- Kept the Ticket block from saving 1970-01-01 as the date of a sale price saved without dates when the ticket was updated.
- Kept the Ticket block working for a ticket saved without an end date, whose form showed an invalid date and stopped the block from creating or updating any ticket on that post.
- Made a Tickets Commerce ticket with a sale price read its sales dates and sale price days in the event’s timezone instead of the site’s, so it went on and off sale and showed its sale price at the right time.
- Prevented the classic editor ticket form from breaking when it opens a ticket on sale from another provider, such as WooCommerce, on an event that sells through Tickets Commerce.
Languages
- 69 new strings added, 61 updated, 0 fuzzied, and 0 obsoleted.
Tweaks
- Rendered the sale dates and sale price fields of Tickets Commerce tickets on events from new templates that add the relative date options, so theme overrides of the original templates no longer change those fields on events.