WooCommerce PDF Invoices & Packing Slips - Version 2.1.8

Version Description

  • Fix: Fatal error on PHP 5.X
Download this release

Release Info

Developer pomegranate
Plugin Icon 128x128 WooCommerce PDF Invoices & Packing Slips
Version 2.1.8
Comparing to
See all releases

Code changes from version 2.1.7 to 2.1.8

includes/compatibility/class-wcpdf-compatibility-third-party-plugins.php CHANGED
@@ -207,7 +207,7 @@ class Third_Party_Plugins {
207
  }
208
 
209
  function aelia_currency_price_args( $args ) {
210
- if ( !empty( $args['currency'] && class_exists("\\Aelia\\WC\\CurrencySwitcher\\WC_Aelia_CurrencySwitcher") ) ) {
211
  $cs_settings = \Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher::settings();
212
  $args['decimal_separator'] = $cs_settings->get_currency_decimal_separator( $args['currency'] );
213
  $args['thousand_separator'] = $cs_settings->get_currency_thousand_separator( $args['currency'] );
207
  }
208
 
209
  function aelia_currency_price_args( $args ) {
210
+ if ( !empty( $args['currency'] ) && class_exists("\\Aelia\\WC\\CurrencySwitcher\\WC_Aelia_CurrencySwitcher") ) {
211
  $cs_settings = \Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher::settings();
212
  $args['decimal_separator'] = $cs_settings->get_currency_decimal_separator( $args['currency'] );
213
  $args['thousand_separator'] = $cs_settings->get_currency_thousand_separator( $args['currency'] );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice,
5
  Requires at least: 3.5
6
  Tested up to: 4.9
7
  Requires PHP: 5.3
8
- Stable tag: 2.1.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -103,6 +103,9 @@ There's a setting on the Status tab of the settings page that allows you to togg
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 2.1.7 =
107
  * Feature: add [order_number] placeholder for number format
108
  * Feature: $order and $order_id variables now available directly template (without needing the document object)
@@ -250,5 +253,5 @@ There's a setting on the Status tab of the settings page that allows you to togg
250
 
251
  == Upgrade Notice ==
252
 
253
- = 2.1.7 =
254
  2.X is a BIG update! Make a full site backup before upgrading if you were using version 1.X!
5
  Requires at least: 3.5
6
  Tested up to: 4.9
7
  Requires PHP: 5.3
8
+ Stable tag: 2.1.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.1.8 =
107
+ * Fix: Fatal error on PHP 5.X
108
+
109
  = 2.1.7 =
110
  * Feature: add [order_number] placeholder for number format
111
  * Feature: $order and $order_id variables now available directly template (without needing the document object)
253
 
254
  == Upgrade Notice ==
255
 
256
+ = 2.1.8 =
257
  2.X is a BIG update! Make a full site backup before upgrading if you were using version 1.X!
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: 2.1.7
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
@@ -21,7 +21,7 @@ if ( !class_exists( 'WPO_WCPDF' ) ) :
21
 
22
  class WPO_WCPDF {
23
 
24
- public $version = '2.1.7';
25
  public $plugin_basename;
26
  public $legacy_mode;
27
 
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: 2.1.8
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
21
 
22
  class WPO_WCPDF {
23
 
24
+ public $version = '2.1.8';
25
  public $plugin_basename;
26
  public $legacy_mode;
27