Version Description
January 5, 2017 =
Fixed: "Expression is not allowed as class constant value" due to PHP versions older then 5.6.
Download this release
Release Info
Developer | baaaaas |
Plugin | WooCommerce PDF Invoices |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
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.5.
|
7 |
* Author: Bas Elbers
|
8 |
* Author URI: http://wcpdfinvoices.com
|
9 |
* License: GPL-2.0+
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
define( 'BEWPI_VERSION', '2.5.
|
20 |
|
21 |
/**
|
22 |
* 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.5.2
|
7 |
* Author: Bas Elbers
|
8 |
* Author URI: http://wcpdfinvoices.com
|
9 |
* License: GPL-2.0+
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
define( 'BEWPI_VERSION', '2.5.2' );
|
20 |
|
21 |
/**
|
22 |
* Load WooCommerce PDF Invoices plugin.
|
includes/admin/settings/class-bewpi-admin-settings-general.php
CHANGED
@@ -24,7 +24,7 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
|
|
24 |
*
|
25 |
* @var string
|
26 |
*/
|
27 |
-
const SETTINGS_KEY =
|
28 |
|
29 |
/**
|
30 |
* Initializes the template settings.
|
24 |
*
|
25 |
* @var string
|
26 |
*/
|
27 |
+
const SETTINGS_KEY = 'bewpi_general_settings';
|
28 |
|
29 |
/**
|
30 |
* Initializes the template settings.
|
includes/admin/settings/class-bewpi-admin-settings-template.php
CHANGED
@@ -22,7 +22,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
|
|
22 |
/**
|
23 |
* Settings key constant.
|
24 |
*/
|
25 |
-
const SETTINGS_KEY =
|
26 |
|
27 |
/**
|
28 |
* BEWPI_Template_Settings constructor.
|
22 |
/**
|
23 |
* Settings key constant.
|
24 |
*/
|
25 |
+
const SETTINGS_KEY = 'bewpi_template_settings';
|
26 |
|
27 |
/**
|
28 |
* BEWPI_Template_Settings constructor.
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -217,6 +217,10 @@ add_filter( 'bewpi_formatted_invoice_number', 'alter_formatted_invoice_number',
|
|
217 |
|
218 |
== Changelog ==
|
219 |
|
|
|
|
|
|
|
|
|
220 |
= 2.5.1 - January 5, 2017 =
|
221 |
|
222 |
- Fixed: "Warning: array_merge(): Argument #2 is not an array" by casting empty get_option to array.
|
4 |
Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 2.5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
217 |
|
218 |
== Changelog ==
|
219 |
|
220 |
+
= 2.5.2 - January 5, 2017 =
|
221 |
+
|
222 |
+
- Fixed: "Expression is not allowed as class constant value" due to PHP versions older then 5.6.
|
223 |
+
|
224 |
= 2.5.1 - January 5, 2017 =
|
225 |
|
226 |
- Fixed: "Warning: array_merge(): Argument #2 is not an array" by casting empty get_option to array.
|