Skip to content

Commit

Permalink
Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Camwyn committed Jul 18, 2023
1 parent 835ea36 commit d410831
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions tribe-ext-pdf-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 );

Expand Down Expand Up @@ -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' );
}

}
Expand Down Expand Up @@ -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 (
Expand Down

0 comments on commit d410831

Please sign in to comment.