Version Description
- HOTFIX: WooCommerce 2.2 compatibility fix
- Filter for PDF temp folder (wpo_wcpdf_tmp_path)
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.4.6 |
Comparing to | |
See all releases |
Code changes from version 1.4.5 to 1.4.6
includes/class-wcpdf-export.php
CHANGED
@@ -22,7 +22,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
22 |
*/
|
23 |
public function __construct() {
|
24 |
global $woocommerce;
|
25 |
-
$this->order = new WC_Order();
|
26 |
$this->general_settings = get_option('wpo_wcpdf_general_settings');
|
27 |
$this->template_settings = get_option('wpo_wcpdf_template_settings');
|
28 |
|
@@ -272,7 +272,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
272 |
}
|
273 |
|
274 |
// clear temp folder (from http://stackoverflow.com/a/13468943/1446634)
|
275 |
-
$tmp_path = WooCommerce_PDF_Invoices::$plugin_path . 'tmp/';
|
276 |
array_map('unlink', ( glob( $tmp_path.'*' ) ? glob( $tmp_path.'*' ) : array() ) );
|
277 |
|
278 |
// Relevant (default) statuses:
|
22 |
*/
|
23 |
public function __construct() {
|
24 |
global $woocommerce;
|
25 |
+
$this->order = new WC_Order('');
|
26 |
$this->general_settings = get_option('wpo_wcpdf_general_settings');
|
27 |
$this->template_settings = get_option('wpo_wcpdf_template_settings');
|
28 |
|
272 |
}
|
273 |
|
274 |
// clear temp folder (from http://stackoverflow.com/a/13468943/1446634)
|
275 |
+
$tmp_path = apply_filters( 'wpo_wcpdf_tmp_path', WooCommerce_PDF_Invoices::$plugin_path . 'tmp/' );
|
276 |
array_map('unlink', ( glob( $tmp_path.'*' ) ? glob( $tmp_path.'*' ) : array() ) );
|
277 |
|
278 |
// Relevant (default) statuses:
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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:
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -182,6 +182,10 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
182 |
|
183 |
== Changelog ==
|
184 |
|
|
|
|
|
|
|
|
|
185 |
= 1.4.5 =
|
186 |
* Fix: Double date conversion for order date on invoice number filter (to avoid i18n date issues)
|
187 |
* Fix: Template selector reset after update
|
2 |
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: 4.0 and WooCommerce 2.2
|
6 |
+
Stable tag: 1.4.6
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
182 |
|
183 |
== Changelog ==
|
184 |
|
185 |
+
= 1.4.6 =
|
186 |
+
* HOTFIX: WooCommerce 2.2 compatibility fix
|
187 |
+
* Filter for PDF temp folder (wpo_wcpdf_tmp_path)
|
188 |
+
|
189 |
= 1.4.5 =
|
190 |
* Fix: Double date conversion for order date on invoice number filter (to avoid i18n date issues)
|
191 |
* Fix: Template selector reset after update
|
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.4.
|
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.4.6
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|