Version Description
- Fix: Invoice number search (broke other custom searches)
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.5.19 |
Comparing to | |
See all releases |
Code changes from version 1.5.18 to 1.5.19
includes/class-wcpdf-writepanels.php
CHANGED
@@ -343,9 +343,9 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
|
|
343 |
* Add invoice number to order search scope
|
344 |
*/
|
345 |
public function search_fields ( $custom_fields ) {
|
346 |
-
$
|
347 |
-
$
|
348 |
-
return $
|
349 |
}
|
350 |
}
|
351 |
}
|
343 |
* Add invoice number to order search scope
|
344 |
*/
|
345 |
public function search_fields ( $custom_fields ) {
|
346 |
+
$custom_fields[] = '_wcpdf_invoice_number';
|
347 |
+
$custom_fields[] = '_wcpdf_formatted_invoice_number';
|
348 |
+
return $custom_fields;
|
349 |
}
|
350 |
}
|
351 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
|
|
3 |
Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.2
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -235,6 +235,9 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
235 |
|
236 |
== Changelog ==
|
237 |
|
|
|
|
|
|
|
238 |
= 1.5.18 =
|
239 |
* Fix: wpo_wcpdf_item_row_class packing slip filter arguments
|
240 |
|
3 |
Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.2
|
6 |
+
Stable tag: 1.5.19
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
235 |
|
236 |
== Changelog ==
|
237 |
|
238 |
+
= 1.5.19 =
|
239 |
+
* Fix: Invoice number search (broke other custom searches)
|
240 |
+
|
241 |
= 1.5.18 =
|
242 |
* Fix: wpo_wcpdf_item_row_class packing slip filter arguments
|
243 |
|
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.5.
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
@@ -33,7 +33,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
33 |
self::$plugin_basename = plugin_basename(__FILE__);
|
34 |
self::$plugin_url = plugin_dir_url(self::$plugin_basename);
|
35 |
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
36 |
-
self::$version = '1.5.
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|
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.5.19
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
33 |
self::$plugin_basename = plugin_basename(__FILE__);
|
34 |
self::$plugin_url = plugin_dir_url(self::$plugin_basename);
|
35 |
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
36 |
+
self::$version = '1.5.19';
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|