From d410831a16919b3bceac98953a0a5f661c7fef3a Mon Sep 17 00:00:00 2001 From: Camwyn Date: Tue, 18 Jul 2023 10:59:36 -0400 Subject: [PATCH] Update versions --- readme.txt | 10 +++++++++- tribe-ext-pdf-tickets.php | 10 +++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/readme.txt b/readme.txt index 0f984f8..198817d 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: events, calendar Requires at least: 5.8.5 Tested up to: 6.2 Requires PHP: 7.4 -Stable tag: 1.2.3 +Stable tag: 1.2.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -35,6 +35,14 @@ We're always interested in your feedback, and our [premium forums](https://theev == Changelog == += [1.2.4] 2023-07-18 = + +* Version - The PDF Tickets is only compatible with PHP 7.4 or later. +* Version - The PDF Tickets is only compatible with Event Tickets 5.6.2 or later. +* Version - The PDF Tickets is only compatible with Event Tickets Plus 5.7.2 or later. +* Version - The PDF Tickets is only compatible with Community Tickets 4.9.3 or later. +* Fix - Correct some incompatibility with the new TEC container structure. + = [1.2.3] 2023-04-27 = * Fix - Update the attachment handling for WooCommerce tickets in Outlook. diff --git a/tribe-ext-pdf-tickets.php b/tribe-ext-pdf-tickets.php index 56283c4..fe4efe4 100644 --- a/tribe-ext-pdf-tickets.php +++ b/tribe-ext-pdf-tickets.php @@ -2,7 +2,7 @@ /** * Plugin Name: Event Tickets Extension: PDF Tickets * Description: Event Tickets' RSVP, Tribe Commerce PayPal, WooCommerce, and/or Easy Digital Downloads ticket emails will become PDF files saved to your Uploads directory and then get attached to the ticket emails. - * Version: 1.2.3 + * Version: 1.2.4 * Extension Class: Tribe__Extension__PDF_Tickets * Plugin URI: https://theeventscalendar.com/extensions/pdf-tickets/ * GitHub Plugin URI: https://github.com/mt-support/tribe-ext-pdf-tickets @@ -88,7 +88,7 @@ class Tribe__Extension__PDF_Tickets extends Tribe__Extension { * This always executes even if the required plugins are not present. */ public function construct() { - $this->add_required_plugin( 'Tribe__Tickets__Main', '5.6.1.2' ); + $this->add_required_plugin( 'Tribe__Tickets__Main', '5.6.2' ); add_action( 'tribe_plugins_loaded', [ $this, 'required_tribe_classes' ], 0 ); @@ -122,10 +122,10 @@ public function required_tribe_classes() { $dep = tribe( Tribe__Dependency::class ); if ( $dep->is_plugin_active( 'Tribe__Tickets_Plus__Main' ) ) { - $this->add_required_plugin( 'Tribe__Tickets_Plus__Main', '4.7' ); + $this->add_required_plugin( 'Tribe__Tickets_Plus__Main', '5.7.2' ); if ( $dep->is_plugin_active( 'Tribe__Events__Community__Tickets__Main' ) ) { - $this->add_required_plugin( 'Tribe__Events__Community__Tickets__Main', '4.4.3' ); + $this->add_required_plugin( 'Tribe__Events__Community__Tickets__Main', '4.9.3' ); } } @@ -165,7 +165,7 @@ public function init() { * * @link https://secure.php.net/manual/en/migration56.new-features.php */ - $php_required_version = '5.6'; + $php_required_version = '7.4'; if ( version_compare( PHP_VERSION, $php_required_version, '<' ) ) { if (