Version Description
(2022-09-13) = * Fix: fatal error caused by list_files() function missing
Download this release
Release Info
Developer | wpovernight |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1.0 to 3.1.1
- includes/class-wcpdf-main.php +3 -0
- readme.txt +4 -1
- woocommerce-pdf-invoices-packingslips.php +2 -2
includes/class-wcpdf-main.php
CHANGED
@@ -906,6 +906,9 @@ class Main {
|
|
906 |
$output = array();
|
907 |
|
908 |
foreach ( $paths_to_cleanup as $path ) {
|
|
|
|
|
|
|
909 |
$files = array_merge( $files, list_files( $path, $folders_level ) );
|
910 |
}
|
911 |
|
906 |
$output = array();
|
907 |
|
908 |
foreach ( $paths_to_cleanup as $path ) {
|
909 |
+
if ( ! function_exists( 'list_files' ) ) {
|
910 |
+
include_once( ABSPATH.'wp-admin/includes/file.php' );
|
911 |
+
}
|
912 |
$files = array_merge( $files, list_files( $path, $folders_level ) );
|
913 |
}
|
914 |
|
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: 6.0
|
7 |
Requires PHP: 7.1
|
8 |
-
Stable tag: 3.1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -102,6 +102,9 @@ There's a setting on the Status tab of the settings page that allows you to togg
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
105 |
= 3.1.0 (2022-09-06) =
|
106 |
* New: custom document links feature available from the Status settings page. Changes the document links to a prettier URL scheme
|
107 |
* New: action hooks before and after the shop logo: 'wpo_wcpdf_before_shop_logo' and'wpo_wcpdf_after_shop_logo'
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 7.1
|
8 |
+
Stable tag: 3.1.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 3.1.1 (2022-09-13) =
|
106 |
+
* Fix: fatal error caused by list_files() function missing
|
107 |
+
|
108 |
= 3.1.0 (2022-09-06) =
|
109 |
* New: custom document links feature available from the Status settings page. Changes the document links to a prettier URL scheme
|
110 |
* New: action hooks before and after the shop logo: 'wpo_wcpdf_before_shop_logo' and'wpo_wcpdf_after_shop_logo'
|
woocommerce-pdf-invoices-packingslips.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-bundle/
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
-
* Version: 3.1.
|
7 |
* Author: WP Overnight
|
8 |
* Author URI: https://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 = '3.1.
|
25 |
public $plugin_basename;
|
26 |
public $legacy_mode;
|
27 |
public $legacy_textdomain;
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-bundle/
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
+
* Version: 3.1.1
|
7 |
* Author: WP Overnight
|
8 |
* Author URI: https://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
21 |
|
22 |
class WPO_WCPDF {
|
23 |
|
24 |
+
public $version = '3.1.1';
|
25 |
public $plugin_basename;
|
26 |
public $legacy_mode;
|
27 |
public $legacy_textdomain;
|