AfterShip – WooCommerce Tracking - Version 1.3.6

Version Description

  • Fix the display problem of required fields in order history page
Download this release

Release Info

Developer aftership
Plugin Icon 128x128 AfterShip – WooCommerce Tracking
Version 1.3.6
Comparing to
See all releases

Code changes from version 1.3.5 to 1.3.6

Files changed (2) hide show
  1. aftership.php +9 -2
  2. readme.txt +4 -2
aftership.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: AfterShip - WooCommerce Tracking
4
  Plugin URI: http://aftership.com/
5
  Description: Add tracking number and carrier name to WooCommerce, display tracking info at order history page, auto import tracking numbers to AfterShip.
6
- Version: 1.3.5
7
  Author: AfterShip
8
  Author URI: http://aftership.com
9
 
@@ -445,7 +445,14 @@ if (is_woocommerce_active()) {
445
  }
446
  }
447
 
448
- echo $track_message_1 . $values['aftership_tracking_provider_name'] . '<br/>' . $track_message_2 . $values['aftership_tracking_number'] . ' (' . join(', ', $required_fields_values) . ')';
 
 
 
 
 
 
 
449
 
450
  if (!$for_email && $this->use_track_button) {
451
  $this->display_track_button($values['aftership_tracking_provider'], $values['aftership_tracking_number']);
3
  Plugin Name: AfterShip - WooCommerce Tracking
4
  Plugin URI: http://aftership.com/
5
  Description: Add tracking number and carrier name to WooCommerce, display tracking info at order history page, auto import tracking numbers to AfterShip.
6
+ Version: 1.3.6
7
  Author: AfterShip
8
  Author URI: http://aftership.com
9
 
445
  }
446
  }
447
 
448
+ if (count($required_fields_values)) {
449
+ $required_fields_msg = ' (' . join(', ', $required_fields_values) . ')';
450
+ } else {
451
+ $required_fields_msg = '';
452
+ }
453
+
454
+
455
+ echo $track_message_1 . $values['aftership_tracking_provider_name'] . '<br/>' . $track_message_2 . $values['aftership_tracking_number'] . $required_fields_msg;
456
 
457
  if (!$for_email && $this->use_track_button) {
458
  $this->display_track_button($values['aftership_tracking_provider'], $values['aftership_tracking_number']);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.aftership.com/
4
  Tags: shipping, tracking, ups, usps, fedex, dhl, tnt, dpd, post, shipment, woocommerce, tracking number, aftership, package tracking, fulfilment, tracking link, carrier, courier, woo commerce, woocommerce shipment tracking, shipping details plugin, widget, shipstation, track, package
5
  Requires at least: 2.9
6
  Tested up to: 4.1
7
- Stable tag: 1.3.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -95,6 +95,9 @@ You'll find the FAQ on [AfterShip.com](https://aftership.uservoice.com/knowledge
95
 
96
  == Changelog ==
97
 
 
 
 
98
  = 1.3.5 =
99
  * Fix carrier list data, to support new dropdown menu in Wordpress 4.1
100
 
@@ -133,7 +136,6 @@ You'll find the FAQ on [AfterShip.com](https://aftership.uservoice.com/knowledge
133
  * Allow carrier selection at Wordpress
134
  * Support PHP 5.2.4 or greater
135
 
136
-
137
  = 1.2.4 =
138
  * Fix enable track button issues
139
  * Support at least WooCommerce 2.1
4
  Tags: shipping, tracking, ups, usps, fedex, dhl, tnt, dpd, post, shipment, woocommerce, tracking number, aftership, package tracking, fulfilment, tracking link, carrier, courier, woo commerce, woocommerce shipment tracking, shipping details plugin, widget, shipstation, track, package
5
  Requires at least: 2.9
6
  Tested up to: 4.1
7
+ Stable tag: 1.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
95
 
96
  == Changelog ==
97
 
98
+ = 1.3.6 =
99
+ * Fix the display problem of required fields in order history page
100
+
101
  = 1.3.5 =
102
  * Fix carrier list data, to support new dropdown menu in Wordpress 4.1
103
 
136
  * Allow carrier selection at Wordpress
137
  * Support PHP 5.2.4 or greater
138
 
 
139
  = 1.2.4 =
140
  * Fix enable track button issues
141
  * Support at least WooCommerce 2.1