From 846951d29be589a6ec7aadd0d733de7aea56c449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Guseo?= Date: Thu, 27 Apr 2023 23:48:39 +0200 Subject: [PATCH 1/2] Fix attachment handling for Woo tickets in Outlook --- tribe-ext-pdf-tickets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tribe-ext-pdf-tickets.php b/tribe-ext-pdf-tickets.php index e69452f..c440a72 100644 --- a/tribe-ext-pdf-tickets.php +++ b/tribe-ext-pdf-tickets.php @@ -946,7 +946,7 @@ private function add_woo_pdf_to_attachments_list( $attendee_id, $file_name ) { } // add to array with key like `woo_84202_1` - $this->attachments_array[ $order_id_array_key . '_' . $this->attachment_count ] = $file_name; + $this->attachments_array[ $order_id_array_key . '_' . $this->attachment_count . '.pdf' ] = $file_name; } /** From 88744270aac3ba42b4e269ce90a3d8bd5114bacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Guseo?= Date: Thu, 27 Apr 2023 23:57:10 +0200 Subject: [PATCH 2/2] Update readme and version number --- readme.txt | 19 ++++++++++++------- tribe-ext-pdf-tickets.php | 8 ++++---- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/readme.txt b/readme.txt index e069e94..0f984f8 100644 --- a/readme.txt +++ b/readme.txt @@ -1,12 +1,12 @@ === Event Tickets Extension: PDF Tickets === -Contributors: ModernTribe -Donate link: http://m.tri.be/29 +Contributors: theeventscalendar +Donate link: http://evnt.is/29 Tags: events, calendar -Requires at least: 4.5 -Tested up to: 5.4.1 -Requires PHP: 5.6 -Stable tag: 1.2.2 -License: GPL version 2 +Requires at least: 5.8.5 +Tested up to: 6.2 +Requires PHP: 7.4 +Stable tag: 1.2.3 +License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html 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. @@ -35,6 +35,11 @@ We're always interested in your feedback, and our [premium forums](https://theev == Changelog == += [1.2.3] 2023-04-27 = + +* Fix - Update the attachment handling for WooCommerce tickets in Outlook. +* Tweak - "WooCommerce tested up to" version changed from `4.2.0` to `7.6.1`. + = [1.2.2] 2020-06-10 = * Fix - Update mPDF library version so this plugin now works with PHP 7.4. [EXT-211] diff --git a/tribe-ext-pdf-tickets.php b/tribe-ext-pdf-tickets.php index c440a72..196c2a1 100644 --- a/tribe-ext-pdf-tickets.php +++ b/tribe-ext-pdf-tickets.php @@ -2,16 +2,16 @@ /** * 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.2 + * Version: 1.2.3 * 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 - * Author: Modern Tribe, Inc. - * Author URI: http://m.tri.be/1971 + * Author: The Events Calendar + * Author URI: http://evnt.is/1971 * License: GPL version 2 * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: tribe-ext-pdf-tickets - * WC tested up to: 4.2.0 + * WC tested up to: 7.6.1 */ use Mpdf\Mpdf;