Flexible Shipping for WooCommerce - Version 1.9.9

Version Description

  • 2017-09-25 =
  • Fixed parse error on PHP 5.3 after update to version 1.9.8
Download this release

Release Info

Developer wpdesk
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 1.9.9
Comparing to
See all releases

Code changes from version 1.9.8 to 1.9.9

classes/settings-shipping-method-form.php CHANGED
@@ -12,7 +12,9 @@ foreach ( WC()->shipping->get_shipping_classes() as $shipping_class ) {
12
  $shipping_classes[$shipping_class->term_id] = $shipping_class->name;
13
  }
14
 
15
- switch ( wc_get_base_location()['country'] ) {
 
 
16
  case 'PL':
17
  $integrations = __( 'Integrate with DPD, DHL, InPost, eNadawca Poczta Polska, Paczka w Ruchu.', 'flexible-shipping' ) . '&nbsp;&nbsp;' . sprintf( __( '%sAdd integrations%s', 'flexible-shipping' ), '<a class="button button-primary" href="https://www.wpdesk.pl/kategoria-produktu/wysylka/?utm_source=flexible-shipping-method&utm_medium=button&utm_campaign=flexible-shipping-integrations" target="_blank">', ' &rarr;</a>' );
18
  break;
12
  $shipping_classes[$shipping_class->term_id] = $shipping_class->name;
13
  }
14
 
15
+ $base_location = wc_get_base_location();
16
+
17
+ switch ( $base_location['country'] ) {
18
  case 'PL':
19
  $integrations = __( 'Integrate with DPD, DHL, InPost, eNadawca Poczta Polska, Paczka w Ruchu.', 'flexible-shipping' ) . '&nbsp;&nbsp;' . sprintf( __( '%sAdd integrations%s', 'flexible-shipping' ), '<a class="button button-primary" href="https://www.wpdesk.pl/kategoria-produktu/wysylka/?utm_source=flexible-shipping-method&utm_medium=button&utm_campaign=flexible-shipping-integrations" target="_blank">', ' &rarr;</a>' );
20
  break;
flexible-shipping.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Flexible Shipping
4
  Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
- Version: 1.9.8
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
3
  Plugin Name: Flexible Shipping
4
  Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
+ Version: 1.9.9
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpdesk, swoboda, jablonowski, barczakszymon, ospiotr
3
  Donate link: https://www.wpdesk.net/products/flexible-shipping-pro-woocommerce/
4
  Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
5
  Requires at least: 4.5
6
- Tested up to: 4.8.1
7
- Stable tag: 1.9.8
8
  Requires PHP: 5.3
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -165,6 +165,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
165
 
166
  == Changelog ==
167
 
 
 
 
168
  = 1.9.8 - 2017-09-11 =
169
  * Added compatibility with WooCommerce DPD UK 1.0
170
 
3
  Donate link: https://www.wpdesk.net/products/flexible-shipping-pro-woocommerce/
4
  Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
5
  Requires at least: 4.5
6
+ Tested up to: 4.8.2
7
+ Stable tag: 1.9.9
8
  Requires PHP: 5.3
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
165
 
166
  == Changelog ==
167
 
168
+ = 1.9.9 - 2017-09-25 =
169
+ * Fixed parse error on PHP 5.3 after update to version 1.9.8
170
+
171
  = 1.9.8 - 2017-09-11 =
172
  * Added compatibility with WooCommerce DPD UK 1.0
173