Version Description
- Improved compatibility with PHP7
Download this release
Release Info
Developer | aftership |
Plugin | AfterShip – WooCommerce Tracking |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
- aftership.php +1 -1
- api/class-aftership-api-server.php +1 -9
- readme.txt +4 -1
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.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.6.3
|
7 |
Author: AfterShip
|
8 |
Author URI: http://aftership.com
|
9 |
|
api/class-aftership-api-server.php
CHANGED
@@ -616,15 +616,7 @@ class AfterShip_API_Server
|
|
616 |
*/
|
617 |
public function get_raw_data()
|
618 |
{
|
619 |
-
|
620 |
-
|
621 |
-
// A bug in PHP < 5.2.2 makes $HTTP_RAW_POST_DATA not set by default,
|
622 |
-
// but we can do it ourself.
|
623 |
-
if (!isset($HTTP_RAW_POST_DATA)) {
|
624 |
-
$HTTP_RAW_POST_DATA = file_get_contents('php://input');
|
625 |
-
}
|
626 |
-
|
627 |
-
return $HTTP_RAW_POST_DATA;
|
628 |
}
|
629 |
|
630 |
/**
|
616 |
*/
|
617 |
public function get_raw_data()
|
618 |
{
|
619 |
+
return file_get_contents('php://input');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
620 |
}
|
621 |
|
622 |
/**
|
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.2.2
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -92,6 +92,9 @@ You'll find the FAQ on [AfterShip.com](https://aftership.uservoice.com/knowledge
|
|
92 |
|
93 |
== Changelog ==
|
94 |
|
|
|
|
|
|
|
95 |
= 1.6.2 =
|
96 |
* Handling API key in more reliable way
|
97 |
|
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.2.2
|
7 |
+
Stable tag: 1.6.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
92 |
|
93 |
== Changelog ==
|
94 |
|
95 |
+
= 1.6.3 =
|
96 |
+
* Improved compatibility with PHP7
|
97 |
+
|
98 |
= 1.6.2 =
|
99 |
* Handling API key in more reliable way
|
100 |
|