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 e69452f..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; @@ -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; } /**