Flexible Shipping for WooCommerce - Version 4.13.2

Version Description

  • 2022-07-25 =
  • Added support for WooCommerce 6.8
  • Changed texts in meta boxes
Download this release

Release Info

Developer octolize
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 4.13.2
Comparing to
See all releases

Code changes from version 4.13.1 to 4.13.2

classes/table-rate/views/ads/html-ads-fsie.php CHANGED
@@ -5,31 +5,31 @@
5
  * @var string $shipping_method_id .
6
  */
7
 
8
- $fsie_link = get_locale() === 'pl_PL' ? 'https://octol.io/fsie-box-fs-pl' : 'https://octol.io/fsie-box-fs';
9
  ?>
10
 
11
  <div class="fs-flexible-shipping-sidebar fs-flexible-shipping-sidebar-fsie <?php echo esc_attr( isset( $shipping_method_id ) ? $shipping_method_id : '' ); ?>"
12
  style="height: auto;">
13
  <div class="wpdesk-metabox">
14
  <div class="wpdesk-stuffbox">
15
- <h3 class="title"><?php esc_html_e( 'Import and Export your shipping methods with Flexible Shipping Import/Export plugin', 'flexible-shipping' ); ?></h3>
16
 
17
  <div class="inside">
18
  <div class="main">
19
  <ul>
20
  <li>
21
- <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Edit the shipping cost for multiple methods simultaneously directly in the CSV file', 'flexible-shipping' ); ?>
22
  </li>
23
  <li>
24
- <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Backup or transfer easily your shipping methods between the shipping zones or WooCommerce stores', 'flexible-shipping' ); ?>
25
  </li>
26
  <li>
27
- <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Upload the edited CSV, update the outdated shipping pricing and organize your shipping methods during the import', 'flexible-shipping' ); ?>
28
  </li>
29
  </ul>
30
 
31
  <a class="button button-primary" href="<?php echo esc_url( $fsie_link ); ?>"
32
- target="_blank"><?php esc_html_e( 'Buy Flexible Shipping Import/Export &rarr;', 'flexible-shipping' ); ?></a>
33
  </div>
34
  </div>
35
  </div>
5
  * @var string $shipping_method_id .
6
  */
7
 
8
+ $fsie_link = get_locale() === 'pl_PL' ? 'https://octol.io/fs-info-addons-pl' : 'https://octol.io/addons-box-fs';
9
  ?>
10
 
11
  <div class="fs-flexible-shipping-sidebar fs-flexible-shipping-sidebar-fsie <?php echo esc_attr( isset( $shipping_method_id ) ? $shipping_method_id : '' ); ?>"
12
  style="height: auto;">
13
  <div class="wpdesk-metabox">
14
  <div class="wpdesk-stuffbox">
15
+ <h3 class="title"><?php esc_html_e( 'Extend the Flexible Shipping capabilities with functional add-ons', 'flexible-shipping' ); ?></h3>
16
 
17
  <div class="inside">
18
  <div class="main">
19
  <ul>
20
  <li>
21
+ <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Calculate the shipping cost based on your custom locations or the WooCommerce defaults', 'flexible-shipping' ); ?>
22
  </li>
23
  <li>
24
+ <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Define shipping cost for each Vendor / Product Author in your marketplace', 'flexible-shipping' ); ?>
25
  </li>
26
  <li>
27
+ <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Move, replace, update or backup multiple shipping methods with Import / Export feature', 'flexible-shipping' ); ?>
28
  </li>
29
  </ul>
30
 
31
  <a class="button button-primary" href="<?php echo esc_url( $fsie_link ); ?>"
32
+ target="_blank"><?php esc_html_e( 'Buy Flexible Shipping Add-ons &rarr;', 'flexible-shipping' ); ?></a>
33
  </div>
34
  </div>
35
  </div>
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.13.1
7
  * Author: Octolize
8
  * Author URI: https://octol.io/fs-author
9
  * Text Domain: flexible-shipping
@@ -11,7 +11,7 @@
11
  * Requires at least: 5.2
12
  * Tested up to: 6.0
13
  * WC requires at least: 6.4
14
- * WC tested up to: 6.7
15
  * Requires PHP: 7.0
16
  *
17
  * Copyright 2017 WP Desk Ltd.
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
- $plugin_version = '4.13.1';
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.13.2
7
  * Author: Octolize
8
  * Author URI: https://octol.io/fs-author
9
  * Text Domain: flexible-shipping
11
  * Requires at least: 5.2
12
  * Tested up to: 6.0
13
  * WC requires at least: 6.4
14
+ * WC tested up to: 6.8
15
  * Requires PHP: 7.0
16
  *
17
  * Copyright 2017 WP Desk Ltd.
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '4.13.2';
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.13.1\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: 2022-07-14T13:01:08+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"
@@ -365,27 +365,27 @@ msgstr ""
365
 
366
  #: classes/table-rate/views/ads/html-ads-fsie.php:15
367
  #: src/WPDesk/FS/Info/FSIE.php:18
368
- msgid "Import and Export your shipping methods with Flexible Shipping Import/Export plugin"
369
  msgstr ""
370
 
371
  #: classes/table-rate/views/ads/html-ads-fsie.php:21
372
  #: src/WPDesk/FS/Info/views/fsie.php:9
373
- msgid "Edit the shipping cost for multiple methods simultaneously directly in the CSV file"
374
  msgstr ""
375
 
376
  #: classes/table-rate/views/ads/html-ads-fsie.php:24
377
  #: src/WPDesk/FS/Info/views/fsie.php:13
378
- msgid "Backup or transfer easily your shipping methods between the shipping zones or WooCommerce stores"
379
  msgstr ""
380
 
381
  #: classes/table-rate/views/ads/html-ads-fsie.php:27
382
  #: src/WPDesk/FS/Info/views/fsie.php:17
383
- msgid "Upload the edited CSV, update the outdated shipping pricing and organize your shipping methods during the import"
384
  msgstr ""
385
 
386
  #: classes/table-rate/views/ads/html-ads-fsie.php:32
387
  #: src/WPDesk/FS/Info/FSIE.php:40
388
- msgid "Buy Flexible Shipping Import/Export &rarr;"
389
  msgstr ""
390
 
391
  #: classes/table-rate/views/html-column-shipping-shipping.php:11
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.13.2\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: 2022-07-25T13:47:03+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"
365
 
366
  #: classes/table-rate/views/ads/html-ads-fsie.php:15
367
  #: src/WPDesk/FS/Info/FSIE.php:18
368
+ msgid "Extend the Flexible Shipping capabilities with functional add-ons"
369
  msgstr ""
370
 
371
  #: classes/table-rate/views/ads/html-ads-fsie.php:21
372
  #: src/WPDesk/FS/Info/views/fsie.php:9
373
+ msgid "Calculate the shipping cost based on your custom locations or the WooCommerce defaults"
374
  msgstr ""
375
 
376
  #: classes/table-rate/views/ads/html-ads-fsie.php:24
377
  #: src/WPDesk/FS/Info/views/fsie.php:13
378
+ msgid "Define shipping cost for each Vendor / Product Author in your marketplace"
379
  msgstr ""
380
 
381
  #: classes/table-rate/views/ads/html-ads-fsie.php:27
382
  #: src/WPDesk/FS/Info/views/fsie.php:17
383
+ msgid "Move, replace, update or backup multiple shipping methods with Import / Export feature"
384
  msgstr ""
385
 
386
  #: classes/table-rate/views/ads/html-ads-fsie.php:32
387
  #: src/WPDesk/FS/Info/FSIE.php:40
388
+ msgid "Buy Flexible Shipping Add-ons &rarr;"
389
  msgstr ""
390
 
391
  #: classes/table-rate/views/html-column-shipping-shipping.php:11
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://octol.io/fs-repo-up
4
  Tags: table rate, table rate shipping, conditional shipping, free shipping, woocommerce shipping, woocommerce table rate shipping, cart based shipping, weight based shipping, totals based shipping, order based shipping, advanced shipping
5
  Requires at least: 5.7
6
  Tested up to: 6.0
7
- Stable tag: 4.13.1
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -207,6 +207,10 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
207
 
208
  == Changelog ==
209
 
 
 
 
 
210
  = 4.13.1 - 2022-07-14 =
211
  * Fixed translations
212
 
4
  Tags: table rate, table rate shipping, conditional shipping, free shipping, woocommerce shipping, woocommerce table rate shipping, cart based shipping, weight based shipping, totals based shipping, order based shipping, advanced shipping
5
  Requires at least: 5.7
6
  Tested up to: 6.0
7
+ Stable tag: 4.13.2
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
207
 
208
  == Changelog ==
209
 
210
+ = 4.13.2 - 2022-07-25 =
211
+ * Added support for WooCommerce 6.8
212
+ * Changed texts in meta boxes
213
+
214
  = 4.13.1 - 2022-07-14 =
215
  * Fixed translations
216
 
src/WPDesk/FS/Info/FSIE.php CHANGED
@@ -15,7 +15,7 @@ class FSIE extends Metabox {
15
  * WooCommerceABC constructor.
16
  */
17
  public function __construct() {
18
- $title = __( 'Import and Export your shipping methods with Flexible Shipping Import/Export plugin', 'flexible-shipping' );
19
 
20
  parent::__construct( 'fsie', $title, $this->get_body_content(), $this->get_footer_content() );
21
  }
@@ -35,8 +35,8 @@ class FSIE extends Metabox {
35
  * @return string
36
  */
37
  private function get_footer_content() {
38
- $url = get_locale() === 'pl_PL' ? 'https://octol.io/fs-info-fsie-pl' : 'https://octol.io/fs-info-fsie';
39
 
40
- return '<a class="button button-primary" href="' . esc_url( $url ) . '" target="_blank">' . __( 'Buy Flexible Shipping Import/Export &rarr;', 'flexible-shipping' ) . '</a>';
41
  }
42
  }
15
  * WooCommerceABC constructor.
16
  */
17
  public function __construct() {
18
+ $title = __( 'Extend the Flexible Shipping capabilities with functional add-ons', 'flexible-shipping' );
19
 
20
  parent::__construct( 'fsie', $title, $this->get_body_content(), $this->get_footer_content() );
21
  }
35
  * @return string
36
  */
37
  private function get_footer_content() {
38
+ $url = get_locale() === 'pl_PL' ? 'https://octol.io/fs-info-addons-pl' : 'https://octol.io/fs-info-addons';
39
 
40
+ return '<a class="button button-primary" href="' . esc_url( $url ) . '" target="_blank">' . __( 'Buy Flexible Shipping Add-ons &rarr;', 'flexible-shipping' ) . '</a>';
41
  }
42
  }
src/WPDesk/FS/Info/views/fsie.php CHANGED
@@ -6,14 +6,14 @@
6
  ?>
7
  <ul class="fsie-features">
8
  <li>
9
- <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Edit the shipping cost for multiple methods simultaneously directly in the CSV file', 'flexible-shipping' ); ?>
10
  </li>
11
 
12
  <li>
13
- <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Backup or transfer easily your shipping methods between the shipping zones or WooCommerce stores', 'flexible-shipping' ); ?>
14
  </li>
15
 
16
  <li>
17
- <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Upload the edited CSV, update the outdated shipping pricing and organize your shipping methods during the import', 'flexible-shipping' ); ?>
18
  </li>
19
  </ul>
6
  ?>
7
  <ul class="fsie-features">
8
  <li>
9
+ <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Calculate the shipping cost based on your custom locations or the WooCommerce defaults', 'flexible-shipping' ); ?>
10
  </li>
11
 
12
  <li>
13
+ <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Define shipping cost for each Vendor / Product Author in your marketplace', 'flexible-shipping' ); ?>
14
  </li>
15
 
16
  <li>
17
+ <span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Move, replace, update or backup multiple shipping methods with Import / Export feature', 'flexible-shipping' ); ?>
18
  </li>
19
  </ul>
vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php CHANGED
@@ -3,7 +3,7 @@
3
  namespace FSVendor;
4
 
5
  if (!\interface_exists('FSVendor\\WPDesk_Requirement_Checker')) {
6
- require_once 'Requirement_Checker.php';
7
  }
8
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker')) {
9
  /**
3
  namespace FSVendor;
4
 
5
  if (!\interface_exists('FSVendor\\WPDesk_Requirement_Checker')) {
6
+ require_once __DIR__ . '/Requirement_Checker.php';
7
  }
8
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker')) {
9
  /**
vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker_Factory.php CHANGED
@@ -3,10 +3,10 @@
3
  namespace FSVendor;
4
 
5
  if (!\class_exists('FSVendor\\Basic_Requirement_Checker')) {
6
- require_once 'Basic_Requirement_Checker.php';
7
  }
8
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker_With_Update_Disable')) {
9
- require_once 'Basic_Requirement_Checker_With_Update_Disable.php';
10
  }
11
  /**
12
  * Falicitates createion of requirement checker
3
  namespace FSVendor;
4
 
5
  if (!\class_exists('FSVendor\\Basic_Requirement_Checker')) {
6
+ require_once __DIR__ . '/Basic_Requirement_Checker.php';
7
  }
8
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker_With_Update_Disable')) {
9
+ require_once __DIR__ . '/Basic_Requirement_Checker_With_Update_Disable.php';
10
  }
11
  /**
12
  * Falicitates createion of requirement checker
vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker_With_Update_Disable.php CHANGED
@@ -3,7 +3,7 @@
3
  namespace FSVendor;
4
 
5
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker')) {
6
- require_once 'Basic_Requirement_Checker.php';
7
  }
8
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker_With_Update_Disable')) {
9
  /**
3
  namespace FSVendor;
4
 
5
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker')) {
6
+ require_once __DIR__ . '/Basic_Requirement_Checker.php';
7
  }
8
  if (!\class_exists('FSVendor\\WPDesk_Basic_Requirement_Checker_With_Update_Disable')) {
9
  /**
vendor_prefixed/wpdesk/wp-logs/composer.json CHANGED
@@ -35,5 +35,12 @@
35
  "phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage",
36
  "phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never",
37
  "phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage"
 
 
 
 
 
 
 
38
  }
39
  }
35
  "phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage",
36
  "phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never",
37
  "phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage"
38
+ },
39
+ "extra": {
40
+ "text-domain": "wp-logs",
41
+ "translations-folder": "lang",
42
+ "po-files": {
43
+ "pl_PL": "pl_PL.po"
44
+ }
45
  }
46
  }
vendor_prefixed/wpdesk/wp-logs/src/WP/WPCapture.php CHANGED
@@ -20,7 +20,7 @@ class WPCapture
20
  {
21
  new \FSVendor\WPDesk\Notice\Notice(\sprintf(
22
  // Translators: directory.
23
- \__('Can not enable WP Desk Debug log! Cannot create directory %s or this directory is not writeable!', 'wpdesk-helper'),
24
  $dir
25
  ), \FSVendor\WPDesk\Notice\Notice::NOTICE_TYPE_ERROR);
26
  }
@@ -33,7 +33,7 @@ class WPCapture
33
  {
34
  new \FSVendor\WPDesk\Notice\Notice(\sprintf(
35
  // Translators: directory.
36
- \__('Can not enable WP Desk Debug log! Cannot create file %s!', 'wpdesk-helper'),
37
  $file
38
  ), \FSVendor\WPDesk\Notice\Notice::NOTICE_TYPE_ERROR);
39
  }
20
  {
21
  new \FSVendor\WPDesk\Notice\Notice(\sprintf(
22
  // Translators: directory.
23
+ \__('Can not enable WP Desk Debug log! Cannot create directory %s or this directory is not writeable!', 'flexible-shipping'),
24
  $dir
25
  ), \FSVendor\WPDesk\Notice\Notice::NOTICE_TYPE_ERROR);
26
  }
33
  {
34
  new \FSVendor\WPDesk\Notice\Notice(\sprintf(
35
  // Translators: directory.
36
+ \__('Can not enable WP Desk Debug log! Cannot create file %s!', 'flexible-shipping'),
37
  $file
38
  ), \FSVendor\WPDesk\Notice\Notice::NOTICE_TYPE_ERROR);
39
  }
vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php CHANGED
@@ -56,7 +56,7 @@ if (!\class_exists('FSVendor\\WPDesk_Logger')) {
56
  }
57
  public function wpdesk_logger_level_options(array $options)
58
  {
59
- return ['disabled' => \__('Disabled', 'wpdesk-helper'), 'emergency' => \__('Emergency', 'wpdesk-helper'), 'alert' => \__('Alert', 'wpdesk-helper'), 'critical' => \__('Critical', 'wpdesk-helper'), 'error' => \__('Error', 'wpdesk-helper'), 'warning' => \__('Warning', 'wpdesk-helper'), 'notice' => \__('Notice', 'wpdesk-helper'), 'info' => \__('Info', 'wpdesk-helper'), 'debug' => \__('Debug', 'wpdesk-helper')];
60
  }
61
  /**
62
  * @param string $level
56
  }
57
  public function wpdesk_logger_level_options(array $options)
58
  {
59
+ return ['disabled' => \__('Disabled', 'flexible-shipping'), 'emergency' => \__('Emergency', 'flexible-shipping'), 'alert' => \__('Alert', 'flexible-shipping'), 'critical' => \__('Critical', 'flexible-shipping'), 'error' => \__('Error', 'flexible-shipping'), 'warning' => \__('Warning', 'flexible-shipping'), 'notice' => \__('Notice', 'flexible-shipping'), 'info' => \__('Info', 'flexible-shipping'), 'debug' => \__('Debug', 'flexible-shipping')];
60
  }
61
  /**
62
  * @param string $level