Version Description
- Fix the redeclare class issues
Download this release
Release Info
Developer | aftership |
Plugin | AfterShip – WooCommerce Tracking |
Version | 1.3.0 |
Comparing to | |
See all releases |
Code changes from version 1.2.9 to 1.3.0
- aftership.php +1 -1
- api/class-aftership-api-orders.php +2 -2
- 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.
|
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.3.0
|
7 |
Author: AfterShip
|
8 |
Author URI: http://aftership.com
|
9 |
|
api/class-aftership-api-orders.php
CHANGED
@@ -378,7 +378,7 @@ class AfterShip_API_Orders extends AfterShip_API_Resource
|
|
378 |
private function query_orders($args)
|
379 |
{
|
380 |
|
381 |
-
function
|
382 |
{
|
383 |
// If get_plugins() isn't available, require it
|
384 |
if (!function_exists('get_plugins'))
|
@@ -398,7 +398,7 @@ class AfterShip_API_Orders extends AfterShip_API_Resource
|
|
398 |
}
|
399 |
}
|
400 |
|
401 |
-
$woo_version =
|
402 |
|
403 |
if ($woo_version >= 2.2) {
|
404 |
// set base query arguments
|
378 |
private function query_orders($args)
|
379 |
{
|
380 |
|
381 |
+
function aftership_wpbo_get_woo_version_number()
|
382 |
{
|
383 |
// If get_plugins() isn't available, require it
|
384 |
if (!function_exists('get_plugins'))
|
398 |
}
|
399 |
}
|
400 |
|
401 |
+
$woo_version = aftership_wpbo_get_woo_version_number();
|
402 |
|
403 |
if ($woo_version >= 2.2) {
|
404 |
// set base query arguments
|
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.0
|
7 |
-
Stable tag: 1.
|
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.2.9 =
|
99 |
* Update the courier list
|
100 |
|
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.0
|
7 |
+
Stable tag: 1.3.0
|
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.0 =
|
99 |
+
* Fix the redeclare class issues
|
100 |
+
|
101 |
= 1.2.9 =
|
102 |
* Update the courier list
|
103 |
|