AfterShip – WooCommerce Tracking - Version 1.1.7

Version Description

  • Fix the headers issues
Download this release

Release Info

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

Code changes from version 1.1.6 to 1.1.7

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.1.6
7
  Author: AfterShip
8
  Author URI: http://aftership.com
9
 
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.1.7
7
  Author: AfterShip
8
  Author URI: http://aftership.com
9
 
api/class-aftership-api-authentication.php CHANGED
@@ -10,6 +10,20 @@
10
 
11
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  class AfterShip_API_Authentication
14
  {
15
 
10
 
11
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
12
 
13
+
14
+ if (!function_exists('getallheaders')) {
15
+ function getallheaders()
16
+ {
17
+ $headers = '';
18
+ foreach ($_SERVER as $name => $value) {
19
+ if (substr($name, 0, 5) == 'HTTP_') {
20
+ $headers[substr($name, 5)] = $value;
21
+ }
22
+ }
23
+ return $headers;
24
+ }
25
+ }
26
+
27
  class AfterShip_API_Authentication
28
  {
29
 
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: 3.9.2
7
- Stable tag: 1.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -93,6 +93,9 @@ You'll find the FAQ on [AfterShip.com](https://aftership.uservoice.com/knowledge
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 1.1.6 =
97
  * Fix the apache request headers issues
98
 
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: 3.9.2
7
+ Stable tag: 1.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
93
 
94
  == Changelog ==
95
 
96
+ = 1.1.7 =
97
+ * Fix the headers issues
98
+
99
  = 1.1.6 =
100
  * Fix the apache request headers issues
101