Version Description
February 18, 2018 =
Fixed: Invoice number column displayed at first place of shop order table.
Download this release
Release Info
Developer | baaaaas |
Plugin | WooCommerce PDF Invoices |
Version | 2.9.12 |
Comparing to | |
See all releases |
Code changes from version 2.9.11 to 2.9.12
- bootstrap.php +4 -4
- includes/woocommerce-pdf-invoices.php +2 -1
- readme.txt +5 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_real_52.php +3 -3
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.
|
7 |
* Author: Bas Elbers
|
8 |
* Author URI: http://wcpdfinvoices.com
|
9 |
* License: GPL-2.0+
|
@@ -11,7 +11,7 @@
|
|
11 |
* Text Domain: woocommerce-pdf-invoices
|
12 |
* Domain Path: /lang
|
13 |
* WC requires at least: 2.6.14
|
14 |
-
* WC tested up to: 3.
|
15 |
*/
|
16 |
|
17 |
defined( 'ABSPATH' ) or exit;
|
@@ -19,9 +19,9 @@ defined( 'ABSPATH' ) or exit;
|
|
19 |
/**
|
20 |
* @deprecated instead use WPI_VERSION.
|
21 |
*/
|
22 |
-
define( 'BEWPI_VERSION', '2.9.
|
23 |
|
24 |
-
define( 'WPI_VERSION', '2.9.
|
25 |
|
26 |
/**
|
27 |
* 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.12
|
7 |
* Author: Bas Elbers
|
8 |
* Author URI: http://wcpdfinvoices.com
|
9 |
* License: GPL-2.0+
|
11 |
* Text Domain: woocommerce-pdf-invoices
|
12 |
* Domain Path: /lang
|
13 |
* WC requires at least: 2.6.14
|
14 |
+
* WC tested up to: 3.3.3
|
15 |
*/
|
16 |
|
17 |
defined( 'ABSPATH' ) or exit;
|
19 |
/**
|
20 |
* @deprecated instead use WPI_VERSION.
|
21 |
*/
|
22 |
+
define( 'BEWPI_VERSION', '2.9.12' );
|
23 |
|
24 |
+
define( 'WPI_VERSION', '2.9.12' );
|
25 |
|
26 |
/**
|
27 |
* Load WooCommerce PDF Invoices plugin.
|
includes/woocommerce-pdf-invoices.php
CHANGED
@@ -617,8 +617,9 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
|
|
617 |
return $columns;
|
618 |
}
|
619 |
|
|
|
620 |
// Splice columns at 'Actions' column, add 'Invoice No.' column and merge with last part.
|
621 |
-
$offset = array_search(
|
622 |
$columns = array_merge(
|
623 |
array_splice( $columns, 0, $offset ),
|
624 |
array(
|
617 |
return $columns;
|
618 |
}
|
619 |
|
620 |
+
$actions_column = BEWPI_WC_Core_Compatibility::is_wc_version_gt( '3.2.6' ) ? 'wc_actions' : 'order_actions';
|
621 |
// Splice columns at 'Actions' column, add 'Invoice No.' column and merge with last part.
|
622 |
+
$offset = array_search( $actions_column, array_keys( $columns ), true );
|
623 |
$columns = array_merge(
|
624 |
array_splice( $columns, 0, $offset ),
|
625 |
array(
|
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.9
|
7 |
-
Stable tag: 2.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -346,6 +346,10 @@ Since version 2.9.4 the plugin removed the ability to update the PDF invoice whe
|
|
346 |
|
347 |
== Changelog ==
|
348 |
|
|
|
|
|
|
|
|
|
349 |
= 2.9.11 - January 17, 2018 =
|
350 |
|
351 |
- Added: 'wpi_invoice_date' filter to change the date of the invoice.
|
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.9
|
7 |
+
Stable tag: 2.9.12
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
346 |
|
347 |
== Changelog ==
|
348 |
|
349 |
+
= 2.9.12 - February 18, 2018 =
|
350 |
+
|
351 |
+
- Fixed: Invoice number column displayed at first place of shop order table.
|
352 |
+
|
353 |
= 2.9.11 - January 17, 2018 =
|
354 |
|
355 |
- Added: 'wpi_invoice_date' filter to change the date of the invoice.
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitd23cd7a2c5465edf274cf28966b509bb::getLoader();
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit3d27280688e7d245f442cefbabfec20d {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInitd23cd7a2c5465edf274cf28966b509bb {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitd23cd7a2c5465edf274cf28966b509bb', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitd23cd7a2c5465edf274cf28966b509bb', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|