WooCommerce PDF Invoices - Version 2.9.9

Version Description

  • October 19, 2017 =

  • Fixed: Parse error: syntax error, unexpected '::'.

Download this release

Release Info

Developer baaaaas
Plugin Icon 128x128 WooCommerce PDF Invoices
Version 2.9.9
Comparing to
See all releases

Code changes from version 2.9.8 to 2.9.9

bootstrap.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce PDF Invoices
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
- * Version: 2.9.8
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
@@ -17,9 +17,9 @@ defined( 'ABSPATH' ) or exit;
17
  /**
18
  * @deprecated instead use WPI_VERSION.
19
  */
20
- define( 'BEWPI_VERSION', '2.9.8' );
21
 
22
- define( 'WPI_VERSION', '2.9.8' );
23
 
24
  /**
25
  * Load WooCommerce PDF Invoices plugin.
3
  * Plugin Name: WooCommerce PDF Invoices
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
+ * Version: 2.9.9
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
17
  /**
18
  * @deprecated instead use WPI_VERSION.
19
  */
20
+ define( 'BEWPI_VERSION', '2.9.9' );
21
 
22
+ define( 'WPI_VERSION', '2.9.9' );
23
 
24
  /**
25
  * Load WooCommerce PDF Invoices plugin.
includes/woocommerce-pdf-invoices.php CHANGED
@@ -719,7 +719,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
719
  include WPI_DIR . '/includes/admin/views/html-order-page-pdf-invoice-meta-box.php';
720
 
721
  // display button to view invoice in debug mode.
722
- if ( (bool) WPI()::get_option( 'general', 'mpdf_debug' ) ) {
723
  $this->show_invoice_button( __( 'Debug', 'woocommerce-pdf-invoices' ), $post->ID, 'debug', array(
724
  'class="button grant_access order-page invoice wpi"',
725
  'target="_blank"',
719
  include WPI_DIR . '/includes/admin/views/html-order-page-pdf-invoice-meta-box.php';
720
 
721
  // display button to view invoice in debug mode.
722
+ if ( (bool) WPI()->get_option( 'general', 'mpdf_debug' ) ) {
723
  $this->show_invoice_button( __( 'Debug', 'woocommerce-pdf-invoices' ), $post->ID, 'debug', array(
724
  'class="button grant_access order-page invoice wpi"',
725
  'target="_blank"',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce pdf invoices, invoice, packing slips, delivery note, packing list, shipping list, generate, pdf, woocommerce, attachment, email, customer invoice, processing, vat, tax, sequential, number, dropbox, google drive, onedrive, egnyte, cloud, storage
5
  Requires at least: 4.0
6
  Tested up to: 4.8
7
- Stable tag: 2.9.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -314,6 +314,10 @@ add_filter( 'wpi_invoice_information_meta', 'add_invoice_information_meta', 10,
314
 
315
  == Changelog ==
316
 
 
 
 
 
317
  = 2.9.8 - October 18, 2017 =
318
 
319
  - Added: 'add_invoice_information_meta' filter to add/remove PDF invoice information meta. See FAQ for example code. Make sure to update your custom template!
4
  Tags: woocommerce pdf invoices, invoice, packing slips, delivery note, packing list, shipping list, generate, pdf, woocommerce, attachment, email, customer invoice, processing, vat, tax, sequential, number, dropbox, google drive, onedrive, egnyte, cloud, storage
5
  Requires at least: 4.0
6
  Tested up to: 4.8
7
+ Stable tag: 2.9.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
314
 
315
  == Changelog ==
316
 
317
+ = 2.9.9 - October 19, 2017 =
318
+
319
+ - Fixed: Parse error: syntax error, unexpected '::'.
320
+
321
  = 2.9.8 - October 18, 2017 =
322
 
323
  - Added: 'add_invoice_information_meta' filter to add/remove PDF invoice information meta. See FAQ for example code. Make sure to update your custom template!