Version Description
(2022-11-22) = * Fix: allow for WooCommerce Booking without order
Download this release
Release Info
Developer | wpovernight |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 3.2.5 |
Comparing to | |
See all releases |
Code changes from version 3.2.4 to 3.2.5
- includes/class-wcpdf-main.php +1 -1
- readme.txt +4 -1
- woocommerce-pdf-invoices-packingslips.php +2 -2
includes/class-wcpdf-main.php
CHANGED
@@ -84,7 +84,7 @@ class Main {
|
|
84 |
}
|
85 |
|
86 |
// WooCommerce Booking compatibility
|
87 |
-
if ( get_post_type( $order_id ) == 'wc_booking' && isset( $order->order ) ) {
|
88 |
// $order is actually a WC_Booking object!
|
89 |
$order = $order->order;
|
90 |
$order_id = $order->get_id();
|
84 |
}
|
85 |
|
86 |
// WooCommerce Booking compatibility
|
87 |
+
if ( get_post_type( $order_id ) == 'wc_booking' && isset( $order->order ) && ! empty( $order->order ) ) {
|
88 |
// $order is actually a WC_Booking object!
|
89 |
$order = $order->order;
|
90 |
$order_id = $order->get_id();
|
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.1
|
7 |
Requires PHP: 7.1
|
8 |
-
Stable tag: 3.2.
|
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.2.4 (2022-11-07) =
|
106 |
* Tweak: update translation template and files
|
107 |
* Fix: break long URLs in different lines if it reaches the available space in Simple template
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 6.1
|
7 |
Requires PHP: 7.1
|
8 |
+
Stable tag: 3.2.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 3.2.5 (2022-11-22) =
|
106 |
+
* Fix: allow for WooCommerce Booking without order
|
107 |
+
|
108 |
= 3.2.4 (2022-11-07) =
|
109 |
* Tweak: update translation template and files
|
110 |
* Fix: break long URLs in different lines if it reaches the available space in Simple template
|
woocommerce-pdf-invoices-packingslips.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: PDF Invoices & Packing Slips for WooCommerce
|
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.2.
|
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.2.
|
25 |
public $plugin_basename;
|
26 |
public $legacy_mode;
|
27 |
public $legacy_textdomain;
|
3 |
* Plugin Name: PDF Invoices & Packing Slips for WooCommerce
|
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.2.5
|
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.2.5';
|
25 |
public $plugin_basename;
|
26 |
public $legacy_mode;
|
27 |
public $legacy_textdomain;
|