Flexible Shipping for WooCommerce - Version 4.8.5

Version Description

  • 2021-10-12 =
  • Fixed integration metabox CSS
  • Fixed fatal error on fs-shipment library
Download this release

Release Info

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

Code changes from version 4.8.4 to 4.8.5

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: 4.8.4
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=fs&utm_medium=link&utm_campaign=plugin-list-author
9
  * Text Domain: flexible-shipping
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
- $plugin_version = '4.8.4';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = '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: 4.8.5
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=fs&utm_medium=link&utm_campaign=plugin-list-author
9
  * Text Domain: flexible-shipping
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '4.8.5';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
lang/flexible-shipping.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Flexible Shipping plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Flexible Shipping 4.8.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-shipping\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-10-04T11:24:02+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: flexible-shipping\n"
2
  # This file is distributed under the same license as the Flexible Shipping plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Flexible Shipping 4.8.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-shipping\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-10-12T09:06:28+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: flexible-shipping\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flexibleshipping.com/products/flexible-shipping-pro-woocomm
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, 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, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.9
7
- Stable tag: 4.8.4
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -200,6 +200,10 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
200
 
201
  == Changelog ==
202
 
 
 
 
 
203
  = 4.8.4 - 2021-10-04 =
204
  * Fixed Left to free shipping notice in the cart
205
 
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, 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, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.9
7
+ Stable tag: 4.8.5
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
200
 
201
  == Changelog ==
202
 
203
+ = 4.8.5 - 2021-10-12 =
204
+ * Fixed integration metabox CSS
205
+ * Fixed fatal error on fs-shipment library
206
+
207
  = 4.8.4 - 2021-10-04 =
208
  * Fixed Left to free shipping notice in the cart
209
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitbc1961ee313758d3f95656b7245bb60e::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitf0d013492303014bdddf5c3cb47d4f23::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitbc1961ee313758d3f95656b7245bb60e
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitbc1961ee313758d3f95656b7245bb60e
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitbc1961ee313758d3f95656b7245bb60e', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitbc1961ee313758d3f95656b7245bb60e', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitbc1961ee313758d3f95656b7245bb60e::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitf0d013492303014bdddf5c3cb47d4f23
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitf0d013492303014bdddf5c3cb47d4f23', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitf0d013492303014bdddf5c3cb47d4f23', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInitf0d013492303014bdddf5c3cb47d4f23::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitbc1961ee313758d3f95656b7245bb60e
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -605,10 +605,10 @@ class ComposerStaticInitbc1961ee313758d3f95656b7245bb60e
605
  public static function getInitializer(ClassLoader $loader)
606
  {
607
  return \Closure::bind(function () use ($loader) {
608
- $loader->prefixLengthsPsr4 = ComposerStaticInitbc1961ee313758d3f95656b7245bb60e::$prefixLengthsPsr4;
609
- $loader->prefixDirsPsr4 = ComposerStaticInitbc1961ee313758d3f95656b7245bb60e::$prefixDirsPsr4;
610
- $loader->fallbackDirsPsr4 = ComposerStaticInitbc1961ee313758d3f95656b7245bb60e::$fallbackDirsPsr4;
611
- $loader->classMap = ComposerStaticInitbc1961ee313758d3f95656b7245bb60e::$classMap;
612
 
613
  }, null, ClassLoader::class);
614
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitf0d013492303014bdddf5c3cb47d4f23
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
605
  public static function getInitializer(ClassLoader $loader)
606
  {
607
  return \Closure::bind(function () use ($loader) {
608
+ $loader->prefixLengthsPsr4 = ComposerStaticInitf0d013492303014bdddf5c3cb47d4f23::$prefixLengthsPsr4;
609
+ $loader->prefixDirsPsr4 = ComposerStaticInitf0d013492303014bdddf5c3cb47d4f23::$prefixDirsPsr4;
610
+ $loader->fallbackDirsPsr4 = ComposerStaticInitf0d013492303014bdddf5c3cb47d4f23::$fallbackDirsPsr4;
611
+ $loader->classMap = ComposerStaticInitf0d013492303014bdddf5c3cb47d4f23::$classMap;
612
 
613
  }, null, ClassLoader::class);
614
  }
vendor_prefixed/wpdesk/wp-wpdesk-fs-shipment/assets/css/admin.css CHANGED
@@ -1,8 +1,4 @@
1
  /* order metabox */
2
- .flexible_shipping_shipment_content p select {
3
- max-width: 95%;
4
- }
5
-
6
  .flexible_shipping_shipment_content span.description {
7
  display: block;
8
  }
1
  /* order metabox */
 
 
 
 
2
  .flexible_shipping_shipment_content span.description {
3
  display: block;
4
  }
vendor_prefixed/wpdesk/wp-wpdesk-fs-shipment/src/WPDesk/FS/Shipment/Label/SingleLabelFileDispatcher.php CHANGED
@@ -88,7 +88,7 @@ class SingleLabelFileDispatcher implements \FSVendor\WPDesk\PluginBuilder\Plugin
88
  }
89
  try {
90
  $this->dispatch_label_and_die($shipment_id);
91
- } catch (\FSVendor\WPDesk\FS\Shipment\Label\Exception $e) {
92
  \wp_die(\esc_html($e->getMessage()), \esc_html(\__('Label error', 'flexible-shipping')));
93
  }
94
  }
88
  }
89
  try {
90
  $this->dispatch_label_and_die($shipment_id);
91
+ } catch (\Exception $e) {
92
  \wp_die(\esc_html($e->getMessage()), \esc_html(\__('Label error', 'flexible-shipping')));
93
  }
94
  }
vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php CHANGED
@@ -325,7 +325,7 @@ if (!\class_exists('FSVendor\\WPDesk_API_Manager_With_Update_Flag')) {
325
  }
326
  if (\apply_filters('wpdesk_show_plugin_activation_notice', \true)) {
327
  (new \FSVendor\WPDesk\Notice\AjaxHandler())->hooks();
328
- new \FSVendor\WPDesk\Notice\PermanentDismissibleNotice(\sprintf(\__('The %s%s%s API Key has not been activated, so you won\'t be supported and your plugin won\'t be updated! %sClick here%s to activate the API key and the plugin.', $this->text_domain), '<strong>', $this->plugin_title, '</strong>', '<a href="' . \esc_url(\admin_url('plugins.php#' . $this->plugin_dir . '-wpdesk-license')) . '">', '</a>'), "notice-{$this->software_product_id}", \FSVendor\WPDesk\Notice\PermanentDismissibleNotice::NOTICE_TYPE_WARNING);
329
  }
330
  }
331
  /**
325
  }
326
  if (\apply_filters('wpdesk_show_plugin_activation_notice', \true)) {
327
  (new \FSVendor\WPDesk\Notice\AjaxHandler())->hooks();
328
+ new \FSVendor\WPDesk\Notice\PermanentDismissibleNotice(\sprintf(\__('The %1$s%2$s%3$s API Key has not been activated, so you won\'t be supported and your plugin won\'t be updated! %4$sClick here%5$s to activate the API key and the plugin.', $this->text_domain), '<strong>', $this->plugin_title, '</strong>', '<a href="' . \esc_url(\admin_url('plugins.php#' . $this->plugin_dir . '-wpdesk-license')) . '">', '</a>'), "notice-{$this->software_product_id}", \FSVendor\WPDesk\Notice\PermanentDismissibleNotice::NOTICE_TYPE_WARNING);
329
  }
330
  }
331
  /**