Version Description
- Fix: error on wpo_wcpdf_email_attachment filter when $pdf_path not set
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
includes/class-wcpdf-export.php
CHANGED
@@ -279,9 +279,9 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
279 |
$pdf_path = $tmp_path . $pdf_filename;
|
280 |
file_put_contents ( $pdf_path, $invoice );
|
281 |
$attachments[] = $pdf_path;
|
282 |
-
}
|
283 |
|
284 |
-
|
|
|
285 |
|
286 |
return $attachments;
|
287 |
}
|
279 |
$pdf_path = $tmp_path . $pdf_filename;
|
280 |
file_put_contents ( $pdf_path, $invoice );
|
281 |
$attachments[] = $pdf_path;
|
|
|
282 |
|
283 |
+
do_action( 'wpo_wcpdf_email_attachment', $pdf_path );
|
284 |
+
}
|
285 |
|
286 |
return $attachments;
|
287 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
|
|
3 |
Tags: woocommerce, print, pdf, bulk, packing slips, invoices, delivery notes, invoice, packing slip, export, email
|
4 |
Requires at least: 3.5 and WooCommerce 2.0
|
5 |
Tested up to: 3.8.1 and WooCommerce 2.1
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -168,6 +168,9 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
168 |
|
169 |
== Changelog ==
|
170 |
|
|
|
|
|
|
|
171 |
= 1.3.1 =
|
172 |
* Fix: invoice number was cleared when Order Actions were being used when an invoice number was not set
|
173 |
* Translations: Updated Slovak (Thanks Jozef!)
|
3 |
Tags: woocommerce, print, pdf, bulk, packing slips, invoices, delivery notes, invoice, packing slip, export, email
|
4 |
Requires at least: 3.5 and WooCommerce 2.0
|
5 |
Tested up to: 3.8.1 and WooCommerce 2.1
|
6 |
+
Stable tag: 1.3.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
168 |
|
169 |
== Changelog ==
|
170 |
|
171 |
+
= 1.3.2 =
|
172 |
+
* Fix: error on wpo_wcpdf_email_attachment filter when $pdf_path not set
|
173 |
+
|
174 |
= 1.3.1 =
|
175 |
* Fix: invoice number was cleared when Order Actions were being used when an invoice number was not set
|
176 |
* Translations: Updated Slovak (Thanks Jozef!)
|
woocommerce-pdf-invoices-packingslips.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
+
* Version: 1.3.2
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|