Advanced Shipment Tracking for WooCommerce - Version 3.4.7

Version Description

  • Fix - syntax error, unexpected ) in class-wc-advanced-shipment-tracking.php on line 916 with PHP 7.2
Download this release

Release Info

Developer zorem
Plugin Icon 128x128 Advanced Shipment Tracking for WooCommerce
Version 3.4.7
Comparing to
See all releases

Code changes from version 3.4.6 to 3.4.7

includes/class-wc-advanced-shipment-tracking.php CHANGED
@@ -909,17 +909,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
909
  'emails/plain/fluid-tracking-info.php',
910
  array(
911
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
912
- 'order_id'=> $order_id
913
- ),
914
- //'woocommerce-advanced-shipment-tracking/',
915
- //get_stylesheet_directory() . '/woocommerce/'
916
  );
917
  } else {
918
  wc_get_template(
919
- 'emails/plain/fluid-tracking-info.php',
920
  array(
921
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
922
- 'order_id'=> $order_id
923
  ),
924
  'woocommerce-advanced-shipment-tracking/',
925
  wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
@@ -932,17 +930,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
932
  'emails/fluid-tracking-info.php',
933
  array(
934
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
935
- 'order_id'=> $order_id
936
- ),
937
- //'woocommerce-advanced-shipment-tracking/',
938
- //get_stylesheet_directory() . '/woocommerce/'
939
  );
940
  } else {
941
  wc_get_template(
942
  'emails/fluid-tracking-info.php',
943
  array(
944
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
945
- 'order_id'=> $order_id
946
  ),
947
  'woocommerce-advanced-shipment-tracking/',
948
  wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
909
  'emails/plain/fluid-tracking-info.php',
910
  array(
911
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
912
+ 'order_id'=> $order_id
913
+ )
 
 
914
  );
915
  } else {
916
  wc_get_template(
917
+ 'emails/plain/fluid-tracking-info.php',
918
  array(
919
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
920
+ 'order_id'=> $order_id
921
  ),
922
  'woocommerce-advanced-shipment-tracking/',
923
  wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
930
  'emails/fluid-tracking-info.php',
931
  array(
932
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
933
+ 'order_id'=> $order_id
934
+ )
 
 
935
  );
936
  } else {
937
  wc_get_template(
938
  'emails/fluid-tracking-info.php',
939
  array(
940
  'tracking_items' => $this->get_tracking_items( $order_id, true ),
941
+ 'order_id'=> $order_id
942
  ),
943
  'woocommerce-advanced-shipment-tracking/',
944
  wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: WooCommerce, delivery, shipping, shipment tracking, tracking
4
  Requires at least: 5.3
5
  Tested up to: 6.0.1
6
  Requires PHP: 7.2
7
- Stable tag: 3.4.6
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -41,7 +41,7 @@ Easily add tracking information and fulfill orders, keep your customers informed
41
 
42
  == TrackShip Integration ==
43
 
44
- [TrackShip](https://trackship.info/) auto-tracks all your shipments with 400+ shipping providers and brings a fully branded tracking experience to your WooCommerce store. TrackShip allows you to build a relationship with your customers, reduce time spent on customer service, further engage customers after shipping and provide a superior post-purchase experience to increase customer satisfaction and repeat purchases.
45
 
46
  AST is fully compatible with [TrackShip for WooCommerce](https://wordpress.org/plugins/trackship-for-woocommerce/) and the shipment tracking information that you add to orders will automatically be sent to TrackShip when you fulfill your orders.
47
 
@@ -105,6 +105,9 @@ Yes, if you use external shipping services that work with the WooCommerce REST A
105
 
106
  == Changelog ==
107
 
 
 
 
108
  = 3.4.6 =
109
  * Enhancement - Move the fulfillment workflow panel on top in the settings page and updated the design of it
110
  * Enhancement - Added "Display shipped/tracker section" option in the Tracking Widget customizer
4
  Requires at least: 5.3
5
  Tested up to: 6.0.1
6
  Requires PHP: 7.2
7
+ Stable tag: 3.4.7
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
41
 
42
  == TrackShip Integration ==
43
 
44
+ [TrackShip](https://trackship.co/) auto-tracks all your shipments with 400+ shipping providers and brings a fully branded tracking experience to your WooCommerce store. TrackShip allows you to build a relationship with your customers, reduce time spent on customer service, further engage customers after shipping and provide a superior post-purchase experience to increase customer satisfaction and repeat purchases.
45
 
46
  AST is fully compatible with [TrackShip for WooCommerce](https://wordpress.org/plugins/trackship-for-woocommerce/) and the shipment tracking information that you add to orders will automatically be sent to TrackShip when you fulfill your orders.
47
 
105
 
106
  == Changelog ==
107
 
108
+ = 3.4.7 =
109
+ * Fix - “syntax error, unexpected ‘)’ in class-wc-advanced-shipment-tracking.php on line 916” with PHP 7.2
110
+
111
  = 3.4.6 =
112
  * Enhancement - Move the fulfillment workflow panel on top in the settings page and updated the design of it
113
  * Enhancement - Added "Display shipped/tracker section" option in the Tracking Widget customizer
templates/myaccount/tracking-info.php CHANGED
@@ -78,7 +78,7 @@ $shipment_status = get_post_meta( $order_id, 'shipment_status', true );
78
  </div>
79
  <div class="order_status <?php esc_html_e( $order_status ); ?>">
80
  <?php
81
- esc_html_e( 'Shipped on:', 'ast-pro' );
82
  echo '<strong> ' . esc_html( date_i18n( get_option( 'date_format' ), $tracking_item['date_shipped'] ) ) . '</strong>';
83
  ?>
84
  </div>
78
  </div>
79
  <div class="order_status <?php esc_html_e( $order_status ); ?>">
80
  <?php
81
+ esc_html_e( 'Shipped on:', 'woo-advanced-shipment-tracking' );
82
  echo '<strong> ' . esc_html( date_i18n( get_option( 'date_format' ), $tracking_item['date_shipped'] ) ) . '</strong>';
83
  ?>
84
  </div>
woocommerce-advanced-shipment-tracking.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Advanced Shipment Tracking for WooCommerce
5
  * Plugin URI: https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/
6
  * Description: Add shipment tracking information to your WooCommerce orders and provide customers with an easy way to track their orders. Shipment tracking Info will appear in customers accounts (in the order panel) and in WooCommerce order complete email.
7
- * Version: 3.4.6
8
  * Author: zorem
9
  * Author URI: https://www.zorem.com
10
  * License: GPL-2.0+
@@ -20,7 +20,7 @@ class Zorem_Woocommerce_Advanced_Shipment_Tracking {
20
  *
21
  * @var string
22
  */
23
- public $version = '3.4.6';
24
 
25
  /**
26
  * Initialize the main plugin function
4
  * Plugin Name: Advanced Shipment Tracking for WooCommerce
5
  * Plugin URI: https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/
6
  * Description: Add shipment tracking information to your WooCommerce orders and provide customers with an easy way to track their orders. Shipment tracking Info will appear in customers accounts (in the order panel) and in WooCommerce order complete email.
7
+ * Version: 3.4.7
8
  * Author: zorem
9
  * Author URI: https://www.zorem.com
10
  * License: GPL-2.0+
20
  *
21
  * @var string
22
  */
23
+ public $version = '3.4.7';
24
 
25
  /**
26
  * Initialize the main plugin function