Flexible Shipping for WooCommerce - Version 2.1.2

Version Description

  • 2018-05-23 =
  • Added support for WooCommerce 3.4
Download this release

Release Info

Developer jablonowski
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

composer.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "name": "wpdesk/flexible-shipping",
3
- "authors": [
4
- {
5
- "name": "Krzysiek",
6
- "email": "krzysiek@wpdesk.pl"
7
- }
8
- ],
9
- "require-dev": {
10
- "phpunit/phpunit": "<7",
11
- "wp-coding-standards/wpcs": "^0.14.1",
12
- "squizlabs/php_codesniffer": "^3.0.2",
13
- "mockery/mockery": "*",
14
- "10up/wp_mock": "*",
15
- "wimg/php-compatibility": "^8"
16
- },
17
- "autoload-dev": {
18
- },
19
- "scripts": {
20
- "test": "echo composer is alive",
21
- "phpcs": "phpcs",
22
- "phpunit-unit": "phpunit --configuration phpunit-unit.xml --coverage-text --colors=never",
23
- "phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never",
24
- "docs": "apigen generate"
25
- }
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
flexible-shipping.php CHANGED
@@ -3,15 +3,15 @@
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: 2.1.1
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
10
  Domain Path: /languages/
11
  Requires at least: 4.5
12
- Tested up to: 4.9.5
13
- WC requires at least: 2.6.14
14
- WC tested up to: 3.3.5
15
 
16
  Copyright 2017 WP Desk Ltd.
17
 
@@ -36,7 +36,7 @@ if ( ! defined( 'ABSPATH' ) ) {
36
  exit;
37
  } // Exit if accessed directly
38
 
39
- $plugin_version = '2.1.1';
40
 
41
  define( 'FLEXIBLE_SHIPPING_VERSION', $plugin_version );
42
 
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: 2.1.2
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
10
  Domain Path: /languages/
11
  Requires at least: 4.5
12
+ Tested up to: 4.9.6
13
+ WC requires at least: 3.0.0
14
+ WC tested up to: 3.4.0
15
 
16
  Copyright 2017 WP Desk Ltd.
17
 
36
  exit;
37
  } // Exit if accessed directly
38
 
39
+ $plugin_version = '2.1.2';
40
 
41
  define( 'FLEXIBLE_SHIPPING_VERSION', $plugin_version );
42
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpdesk, swoboda
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.9.5
7
- Stable tag: 2.1.1
8
  Requires PHP: 5.5
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -71,11 +71,11 @@ The Location Based Shipping Add-On extends Flexible Shipping for WooCommerce wit
71
 
72
  = WooCommerce Compatibility =
73
 
74
- **WooCommerce 3.3 ready!** In Flexible Shipping 2.0 we introduced support for WooCommerce 3.3.
75
 
76
  **Shipping Zones ready!** Flexible Shipping is compatible with WooCommerce Shipping Zones introduced in version 2.6. Read more about [WooCommerce Shipping Zones](https://www.wpdesk.net/blog/woocommerce-shipping-zones-explained/).
77
 
78
- Flexible Shipping also plays well with older versions of WooCommerce. We tested the plugin with WooCommerce 2.6.14 and up.
79
 
80
  = Docs =
81
 
@@ -171,6 +171,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
171
 
172
  == Changelog ==
173
 
 
 
 
174
  = 2.1.1 - 2018-05-10 =
175
  * Fixed calculation method message when taxes disabled
176
  * Fixed session starting - do not start session in AJAX calls
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.9.6
7
+ Stable tag: 2.1.2
8
  Requires PHP: 5.5
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
71
 
72
  = WooCommerce Compatibility =
73
 
74
+ **WooCommerce 3.4 ready!** In Flexible Shipping 2.1.2 we introduced support for WooCommerce 3.4.
75
 
76
  **Shipping Zones ready!** Flexible Shipping is compatible with WooCommerce Shipping Zones introduced in version 2.6. Read more about [WooCommerce Shipping Zones](https://www.wpdesk.net/blog/woocommerce-shipping-zones-explained/).
77
 
78
+ Flexible Shipping also plays well with older versions of WooCommerce. We tested the plugin with WooCommerce 3.0.0 and up.
79
 
80
  = Docs =
81
 
171
 
172
  == Changelog ==
173
 
174
+ = 2.1.2 - 2018-05-23 =
175
+ * Added support for WooCommerce 3.4
176
+
177
  = 2.1.1 - 2018-05-10 =
178
  * Fixed calculation method message when taxes disabled
179
  * Fixed session starting - do not start session in AJAX calls
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitd885f9e2682038b460b4b7f814732a2c::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitd893dd548357f8cd6ad938d99b295601::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitd885f9e2682038b460b4b7f814732a2c
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitd885f9e2682038b460b4b7f814732a2c
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitd885f9e2682038b460b4b7f814732a2c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitd885f9e2682038b460b4b7f814732a2c', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitd885f9e2682038b460b4b7f814732a2c::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitd893dd548357f8cd6ad938d99b295601
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitd893dd548357f8cd6ad938d99b295601', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd893dd548357f8cd6ad938d99b295601', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitd893dd548357f8cd6ad938d99b295601::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitd885f9e2682038b460b4b7f814732a2c
8
  {
9
  public static function getInitializer(ClassLoader $loader)
10
  {
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitd893dd548357f8cd6ad938d99b295601
8
  {
9
  public static function getInitializer(ClassLoader $loader)
10
  {