4.7.1

2018-03-28 Feature1 Fix9 Tweak7

Features

  • Added updater class to enable changes on future updates

Fixes

  • Resolved undefined variable error that could occur when purchasing tickets via WooCommerce in some circumstances (thanks to @justlevine for flagging this problem)
  • Added safety checks to stop customers from buying tickets left in the cart after the ticket sale dates have passed (our thanks to Lawrence in the forums for flag this problem)
  • Added checks to help prevent tickets from inadvertently being added to the cart more than once when site visitors use the browser refresh button (thanks to Preethi in our forums for reporting this problem)
  • Fixed some broken functionality and design elements on the front-end "Who's Attending?" list on ticketed events (thanks to @learningarchitects and others for reporting this bug!)
  • Restored the order notes that get added to orders when a tickets email is manually re-sent to a customer (props to Nick H. in our forums for spotting this bug)
  • Restored functionality of the custom WooCommerce tickets email subject line (props to @ilardo for surfacing this bug in the forums)
  • Corrected a number of wrongly declared textdomains (thanks to @websource for drawing our attention to this)
  • Make sure the sales page does not trigger any error when get_current_screen does not return an object (thanks to @artistinformatici for report this problem in our forums)
  • Prevented a fatal error that would sometimes arise when viewing events with Easy Digital Downloads tickets

Tweaks

  • Modified WooCommerce ticket inputs so that they are disabled when viewed by unauthenticated users, when a requirement for users to login before purchasing is in effect
  • Added caching to get_orders_by_status call to avoid unnecessarily repeated queries
  • Fixed harmless (but annoying) PHP notice that would sometimes arise when tickets were in the same WooCommerce cart as non-ticket products (thanks @liblogger for reporting this one!)
  • Fixed a PHP notice that would sometimes arise when deleting tickets with attendees (thanks to @svkg for reporting this in our forums)
  • Added logic to clear cookies and storage used from a product when it is removed from the cart
  • Added new filter tribe_tickets_plus_email_enabled to allow for enabling or disabling the tickets emails - this replaces the now-deprecated wootickets-tickets-email-enabled filter
  • Added new filter tribe_tickets_plus_woocommerce_order_link_url to allow for remove of the order links on front end order report