Version Description
- Fix: JavaScript errors on My Account page with empty link tags
- Fix: Long URLs in notes area breaking layout
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 2.9.3 |
Comparing to | |
See all releases |
Code changes from version 2.9.2 to 2.9.3
- assets/js/my-account-link.js +7 -4
- readme.txt +5 -1
- templates/Simple/style.css +1 -0
- woocommerce-pdf-invoices-packingslips.php +2 -2
assets/js/my-account-link.js
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
jQuery( function( $ ) {
|
2 |
$('a').each(function(e){
|
3 |
-
//
|
4 |
-
if( $(this).attr('href')
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
7 |
});
|
8 |
});
|
1 |
jQuery( function( $ ) {
|
2 |
$('a').each(function(e){
|
3 |
+
//check if href attribute exists
|
4 |
+
if ( $(this).attr('href') ) {
|
5 |
+
// for lack of specific classes on the my account action buttons we check the url
|
6 |
+
if( $(this).attr('href').indexOf('generate_wpo_wcpdf') != -1 ){
|
7 |
+
$(this).attr('target', '_blank');
|
8 |
+
};
|
9 |
+
}
|
10 |
});
|
11 |
});
|
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: 5.8
|
7 |
Requires PHP: 7.1
|
8 |
-
Stable tag: 2.9.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -102,6 +102,10 @@ There's a setting on the Status tab of the settings page that allows you to togg
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
|
|
105 |
= 2.9.2 =
|
106 |
* Tweak: Added new 'item-' prefix to item row class ID
|
107 |
* New: filter to set sort order for bulk documents (`wpo_wcpdf_bulk_document_sort_order`)
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 7.1
|
8 |
+
Stable tag: 2.9.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 2.9.3 =
|
106 |
+
* Fix: JavaScript errors on My Account page with empty link tags
|
107 |
+
* Fix: Long URLs in notes area breaking layout
|
108 |
+
|
109 |
= 2.9.2 =
|
110 |
* Tweak: Added new 'item-' prefix to item row class ID
|
111 |
* New: filter to set sort order for bulk documents (`wpo_wcpdf_bulk_document_sort_order`)
|
templates/Simple/style.css
CHANGED
@@ -234,6 +234,7 @@ dd:after {
|
|
234 |
.document-notes,
|
235 |
.customer-notes {
|
236 |
margin-top: 5mm;
|
|
|
237 |
}
|
238 |
|
239 |
table.totals {
|
234 |
.document-notes,
|
235 |
.customer-notes {
|
236 |
margin-top: 5mm;
|
237 |
+
word-wrap: break-word;
|
238 |
}
|
239 |
|
240 |
table.totals {
|
woocommerce-pdf-invoices-packingslips.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
-
* Version: 2.9.
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://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 = '2.9.
|
25 |
public $plugin_basename;
|
26 |
public $legacy_mode;
|
27 |
public $legacy_textdomain;
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
+
* Version: 2.9.3
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
21 |
|
22 |
class WPO_WCPDF {
|
23 |
|
24 |
+
public $version = '2.9.3';
|
25 |
public $plugin_basename;
|
26 |
public $legacy_mode;
|
27 |
public $legacy_textdomain;
|