Event Tickets 4.12.3

Howdy folks! Event Tickets 4.12.3 has released and includes a handle of fixes and updates that detect which e-commerce providers are active.

Last month we shared a sneak peek at our new RSVP design. We have had great input from users testing out the demo. Our current goal is to release the update in August. Learn more about how to unlock this preview with these instructions.

Otherwise, this is a relatively minor release that should be smooth sailing when updating. That said, it’s always a good idea to backup your site and test changes in a development environment before installing this on your live site, as you would with any other WordPress update.

  • Feature – Notify Promoter for actions (RSVP going, RSVP not going, Event Check In, Attendee Registered) for RSVP and Tribe Commerce.
  • Fix – Prevent PHP errors when loading the new RSVP views for posts using the Classic Editor plugin when The Events Calendar setting for Blocks editor is off.
  • Tweak – Layout improvements for Attendee Information’s Birth Date field.
  • Tweak – Add tribe_tickets_is_provider_active() template function so we can more easily check if a ticket’s commerce provider is currently active before using its class methods.
  • Tweak – Add Tribe__Tickets_Plus__Tickets::get_attendee_optout_key() to simplify getting the optout key regardless of ticket provider class and accounting for legacy code.
  • Tweak – Updated Tribe__Tickets__Status__Manager::get_provider_slug() and added Tribe__Tickets__Status__Manager::get_provider_class_from_slug() for convenient and consistent lookups.
  • Tweak – We’ve added some functions to determine which e-commerce providers are active.
    • Add Tribe__Tickets__Tickets::get_ticket_provider_instance() to consistently and more concisely get a ticket provider’s instance only if it is active.
    • Update Tribe__Tickets__Tickets::get_ticket_provider_instance() to return a class instance instead of class name string, for more robust usage. Multiple derivative functions and template files updated accordingly.
    • Backwards compatibility for this resolved with adding a Tribe__Tickets__Tickets::__toString() method that will handle usages of the class object when called as a string.
    • Display all of a post’s order tabs in the Attendees Report admin screen. Example: if a post’s ticket provider was Tribe Commerce and such tickets were sold, then the post’s provider changed to WooCommerce Tickets, the Attendees Report screen should show both the Tribe Commerce order history tab and the WooCommerce order history tab, regardless of which ticket provider is currently the default.
    • Introduced Tribe__Tickets__Tickets::post_has_tickets() helper function.
  • Tweak – Modify parameters on register_rest_route to include permission_callback to prevent notices on WordPress 5.5.
  • Hookshttps://docs.theeventscalendar.com/reference/since/event.tickets4.12.3/
  • Languages8 new strings added, 200 updated, 1 fuzzied, and 1 obsoleted