Flexible Shipping for WooCommerce - Version 3.3.6

Version Description

  • 2019-04-16 =
  • Fixed export - to many methods in export file
Download this release

Release Info

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

Code changes from version 3.3.5 to 3.3.6

classes/flexible-shipping-export.php CHANGED
@@ -86,7 +86,9 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Export' ) ) {
86
  );
87
  $csv_array[] = $csv_header;
88
  foreach ( $flexible_shipping_rates as $flexible_shipping_rate ) {
89
- if ( ! in_array( $flexible_shipping_rate['id'], $methods_array ) ) {
 
 
90
  continue;
91
  }
92
  $filename .= '_' . $flexible_shipping_rate['id'];
86
  );
87
  $csv_array[] = $csv_header;
88
  foreach ( $flexible_shipping_rates as $flexible_shipping_rate ) {
89
+ if ( strval( $flexible_shipping_rate['instance_id'] ) !== $instance_id
90
+ || ! in_array( strval( $flexible_shipping_rate['id'] ), $methods_array, true )
91
+ ) {
92
  continue;
93
  }
94
  $filename .= '_' . $flexible_shipping_rate['id'];
composer.lock CHANGED
@@ -2205,16 +2205,16 @@
2205
  },
2206
  {
2207
  "name": "squizlabs/php_codesniffer",
2208
- "version": "3.4.1",
2209
  "source": {
2210
  "type": "git",
2211
  "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
2212
- "reference": "5b4333b4010625d29580eb4a41f1e53251be6baa"
2213
  },
2214
  "dist": {
2215
  "type": "zip",
2216
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5b4333b4010625d29580eb4a41f1e53251be6baa",
2217
- "reference": "5b4333b4010625d29580eb4a41f1e53251be6baa",
2218
  "shasum": ""
2219
  },
2220
  "require": {
@@ -2252,7 +2252,7 @@
2252
  "phpcs",
2253
  "standards"
2254
  ],
2255
- "time": "2019-03-19T03:22:27+00:00"
2256
  },
2257
  {
2258
  "name": "symfony/polyfill-ctype",
@@ -2314,7 +2314,7 @@
2314
  },
2315
  {
2316
  "name": "symfony/yaml",
2317
- "version": "v3.4.24",
2318
  "source": {
2319
  "type": "git",
2320
  "url": "https://github.com/symfony/yaml.git",
2205
  },
2206
  {
2207
  "name": "squizlabs/php_codesniffer",
2208
+ "version": "3.4.2",
2209
  "source": {
2210
  "type": "git",
2211
  "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
2212
+ "reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8"
2213
  },
2214
  "dist": {
2215
  "type": "zip",
2216
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8",
2217
+ "reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8",
2218
  "shasum": ""
2219
  },
2220
  "require": {
2252
  "phpcs",
2253
  "standards"
2254
  ],
2255
+ "time": "2019-04-10T23:49:02+00:00"
2256
  },
2257
  {
2258
  "name": "symfony/polyfill-ctype",
2314
  },
2315
  {
2316
  "name": "symfony/yaml",
2317
+ "version": "v3.4.25",
2318
  "source": {
2319
  "type": "git",
2320
  "url": "https://github.com/symfony/yaml.git",
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: 3.3.5
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
@@ -43,8 +43,8 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) {
43
  }
44
 
45
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
46
- $plugin_version = '3.3.5';
47
- $plugin_release_timestamp = '2019-04-10';
48
 
49
  $plugin_name = 'Flexible Shipping';
50
  $plugin_class_name = 'Flexible_Shipping_Plugin';
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: 3.3.6
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
43
  }
44
 
45
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
46
+ $plugin_version = '3.3.6';
47
+ $plugin_release_timestamp = '2019-04-16';
48
 
49
  $plugin_name = 'Flexible Shipping';
50
  $plugin_class_name = 'Flexible_Shipping_Plugin';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flexibleshipping.com/table-rate/
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: 5.1.0
7
- Stable tag: 3.3.5
8
  Requires PHP: 5.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -175,6 +175,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
175
 
176
  == Changelog ==
177
 
 
 
 
178
  = 3.3.5 - 2019-04-10 =
179
  * Fixed polish translations
180
 
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: 5.1.0
7
+ Stable tag: 3.3.6
8
  Requires PHP: 5.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
175
 
176
  == Changelog ==
177
 
178
+ = 3.3.6 - 2019-04-16 =
179
+ * Fixed export - to many methods in export file
180
+
181
  = 3.3.5 - 2019-04-10 =
182
  * Fixed polish translations
183
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit0dd227c3e551cab6ba5ba2fd61c7d632::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit357dcb12c50e3defa3f9f817a13ff081::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit0dd227c3e551cab6ba5ba2fd61c7d632
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit0dd227c3e551cab6ba5ba2fd61c7d632
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit0dd227c3e551cab6ba5ba2fd61c7d632', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit0dd227c3e551cab6ba5ba2fd61c7d632', '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\ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit0dd227c3e551cab6ba5ba2fd61c7d632
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire0dd227c3e551cab6ba5ba2fd61c7d632($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire0dd227c3e551cab6ba5ba2fd61c7d632($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit357dcb12c50e3defa3f9f817a13ff081
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit357dcb12c50e3defa3f9f817a13ff081', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit357dcb12c50e3defa3f9f817a13ff081', '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\ComposerStaticInit357dcb12c50e3defa3f9f817a13ff081::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit357dcb12c50e3defa3f9f817a13ff081::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire357dcb12c50e3defa3f9f817a13ff081($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire357dcb12c50e3defa3f9f817a13ff081($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632
8
  {
9
  public static $files = array (
10
  '46ae4ad8c3479aabff48f598a0e4b93f' => __DIR__ . '/..' . '/wpdesk/wp-mutex/src/WPDesk/functions.php',
@@ -562,9 +562,9 @@ class ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632
562
  public static function getInitializer(ClassLoader $loader)
563
  {
564
  return \Closure::bind(function () use ($loader) {
565
- $loader->prefixLengthsPsr4 = ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632::$prefixLengthsPsr4;
566
- $loader->prefixDirsPsr4 = ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632::$prefixDirsPsr4;
567
- $loader->classMap = ComposerStaticInit0dd227c3e551cab6ba5ba2fd61c7d632::$classMap;
568
 
569
  }, null, ClassLoader::class);
570
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit357dcb12c50e3defa3f9f817a13ff081
8
  {
9
  public static $files = array (
10
  '46ae4ad8c3479aabff48f598a0e4b93f' => __DIR__ . '/..' . '/wpdesk/wp-mutex/src/WPDesk/functions.php',
562
  public static function getInitializer(ClassLoader $loader)
563
  {
564
  return \Closure::bind(function () use ($loader) {
565
+ $loader->prefixLengthsPsr4 = ComposerStaticInit357dcb12c50e3defa3f9f817a13ff081::$prefixLengthsPsr4;
566
+ $loader->prefixDirsPsr4 = ComposerStaticInit357dcb12c50e3defa3f9f817a13ff081::$prefixDirsPsr4;
567
+ $loader->classMap = ComposerStaticInit357dcb12c50e3defa3f9f817a13ff081::$classMap;
568
 
569
  }, null, ClassLoader::class);
570
  }