WooCommerce PDF Invoices & Packing Slips - Version 1.4.11

Version Description

  • Small fix: bulk actions for specific i18n configurations
  • Tweak: total row key used as class in Simple template
Download this release

Release Info

Developer pomegranate
Plugin Icon 128x128 WooCommerce PDF Invoices & Packing Slips
Version 1.4.11
Comparing to
See all releases

Code changes from version 1.4.10 to 1.4.11

includes/class-wcpdf-writepanels.php CHANGED
@@ -215,7 +215,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
215
  <script type="text/javascript">
216
  jQuery(document).ready(function() {
217
  <?php foreach ($bulk_actions as $action => $title) { ?>
218
- jQuery('<option>').val('<?php echo $action; ?>').text('<?php echo $title; ?>').appendTo("select[name='action'], select[name='action2']");
219
  <?php } ?>
220
  });
221
  </script>
215
  <script type="text/javascript">
216
  jQuery(document).ready(function() {
217
  <?php foreach ($bulk_actions as $action => $title) { ?>
218
+ jQuery('<option>').val('<?php echo $action; ?>').html('<?php echo esc_attr( $title ); ?>').appendTo("select[name='action'], select[name='action2']");
219
  <?php } ?>
220
  });
221
  </script>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
3
  Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
4
  Requires at least: 3.5
5
  Tested up to: 4.0
6
- Stable tag: 1.4.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -188,6 +188,10 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
188
 
189
  == Changelog ==
190
 
 
 
 
 
191
  = 1.4.10 =
192
  * Fix: Invoice not attaching
193
  * Translations: Updated POT file
3
  Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
4
  Requires at least: 3.5
5
  Tested up to: 4.0
6
+ Stable tag: 1.4.11
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
188
 
189
  == Changelog ==
190
 
191
+ = 1.4.11 =
192
+ * Small fix: bulk actions for specific i18n configurations
193
+ * Tweak: total row key used as class in Simple template
194
+
195
  = 1.4.10 =
196
  * Fix: Invoice not attaching
197
  * Translations: Updated POT file
templates/pdf/Simple/invoice.php CHANGED
@@ -80,8 +80,8 @@
80
  <td class="no-borders" colspan="3">
81
  <table class="totals">
82
  <tfoot>
83
- <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $total ) : ?>
84
- <tr>
85
  <td class="no-borders">&nbsp;</td>
86
  <th class="description"><?php echo $total['label']; ?></th>
87
  <td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>
80
  <td class="no-borders" colspan="3">
81
  <table class="totals">
82
  <tfoot>
83
+ <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
84
+ <tr class="<?php echo $key; ?>">
85
  <td class="no-borders">&nbsp;</td>
86
  <th class="description"><?php echo $total['label']; ?></th>
87
  <td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>
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: 1.4.10
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
@@ -33,7 +33,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
33
  self::$plugin_basename = plugin_basename(__FILE__);
34
  self::$plugin_url = plugin_dir_url(self::$plugin_basename);
35
  self::$plugin_path = trailingslashit(dirname(__FILE__));
36
- self::$version = '1.4.8';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
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: 1.4.11
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
33
  self::$plugin_basename = plugin_basename(__FILE__);
34
  self::$plugin_url = plugin_dir_url(self::$plugin_basename);
35
  self::$plugin_path = trailingslashit(dirname(__FILE__));
36
+ self::$version = '1.4.11';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?