Flexible Shipping for WooCommerce - Version 4.0.1

Version Description

  • 2020-12-16 =
  • Updated compatibility library
Download this release

Release Info

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

Code changes from version 4.0.0 to 4.0.1

composer.lock CHANGED
@@ -152,16 +152,16 @@
152
  },
153
  {
154
  "name": "wpdesk/wp-wpdesk-fs-compatibility",
155
- "version": "1.0.8",
156
  "source": {
157
  "type": "git",
158
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-fs-compatibility.git",
159
- "reference": "6cd8454513aa7ae0aa03333373bf87b4a53677ca"
160
  },
161
  "dist": {
162
  "type": "zip",
163
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-fs-compatibility/repository/archive.zip?sha=6cd8454513aa7ae0aa03333373bf87b4a53677ca",
164
- "reference": "6cd8454513aa7ae0aa03333373bf87b4a53677ca",
165
  "shasum": ""
166
  },
167
  "require": {
@@ -195,7 +195,7 @@
195
  "email": "sebastian.pisula@flexibleshipping.com"
196
  }
197
  ],
198
- "time": "2020-12-03T15:04:21+00:00"
199
  },
200
  {
201
  "name": "wpdesk/wp-wpdesk-helper-override",
@@ -8598,16 +8598,16 @@
8598
  },
8599
  {
8600
  "name": "wpdesk/wp-wpdesk-composer",
8601
- "version": "2.9.4",
8602
  "source": {
8603
  "type": "git",
8604
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
8605
- "reference": "8ef39def621536ddd1b18bb8ebd3aa9ecce18f63"
8606
  },
8607
  "dist": {
8608
  "type": "zip",
8609
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=8ef39def621536ddd1b18bb8ebd3aa9ecce18f63",
8610
- "reference": "8ef39def621536ddd1b18bb8ebd3aa9ecce18f63",
8611
  "shasum": ""
8612
  },
8613
  "require": {
@@ -8637,7 +8637,7 @@
8637
  "email": "krzysiek@wpdesk.pl"
8638
  }
8639
  ],
8640
- "time": "2020-12-10T16:02:18+00:00"
8641
  },
8642
  {
8643
  "name": "wpdesk/wp-wpdesk-fs-table-rate",
152
  },
153
  {
154
  "name": "wpdesk/wp-wpdesk-fs-compatibility",
155
+ "version": "1.0.9",
156
  "source": {
157
  "type": "git",
158
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-fs-compatibility.git",
159
+ "reference": "fd1157fe2f7033865d07635e8e5580cb8097272a"
160
  },
161
  "dist": {
162
  "type": "zip",
163
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-fs-compatibility/repository/archive.zip?sha=fd1157fe2f7033865d07635e8e5580cb8097272a",
164
+ "reference": "fd1157fe2f7033865d07635e8e5580cb8097272a",
165
  "shasum": ""
166
  },
167
  "require": {
195
  "email": "sebastian.pisula@flexibleshipping.com"
196
  }
197
  ],
198
+ "time": "2020-12-16T17:22:21+00:00"
199
  },
200
  {
201
  "name": "wpdesk/wp-wpdesk-helper-override",
8598
  },
8599
  {
8600
  "name": "wpdesk/wp-wpdesk-composer",
8601
+ "version": "2.9.5",
8602
  "source": {
8603
  "type": "git",
8604
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
8605
+ "reference": "d38d353ed6f6f2a17e94ee04bf5805c5e5e61298"
8606
  },
8607
  "dist": {
8608
  "type": "zip",
8609
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=d38d353ed6f6f2a17e94ee04bf5805c5e5e61298",
8610
+ "reference": "d38d353ed6f6f2a17e94ee04bf5805c5e5e61298",
8611
  "shasum": ""
8612
  },
8613
  "require": {
8637
  "email": "krzysiek@wpdesk.pl"
8638
  }
8639
  ],
8640
+ "time": "2020-12-15T11:10:29+00:00"
8641
  },
8642
  {
8643
  "name": "wpdesk/wp-wpdesk-fs-table-rate",
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.0.0
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
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.0.0';
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.0.1
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
9
  * Text Domain: flexible-shipping
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '4.0.1';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Table Rate for WooCommerce by Flexible Shipping ===
2
- Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko
3
  Donate link: https://flexibleshipping.com/table-rate/
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.6
7
- Stable tag: 4.0.0
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -163,6 +163,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
163
 
164
  == Changelog ==
165
 
 
 
 
166
  = 4.0.0 - 2020-12-15 =
167
  * New rules table design and functionality
168
 
1
  === Table Rate for WooCommerce by Flexible Shipping ===
2
+ Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk
3
  Donate link: https://flexibleshipping.com/table-rate/
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.6
7
+ Stable tag: 4.0.1
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
163
 
164
  == Changelog ==
165
 
166
+ = 4.0.1 - 2020-12-16 =
167
+ * Updated compatibility library
168
+
169
  = 4.0.0 - 2020-12-15 =
170
  * New rules table design and functionality
171
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb96406d5516677d6d2b8c5d4d029ddfc::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb96406d5516677d6d2b8c5d4d029ddfc
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb96406d5516677d6d2b8c5d4d029ddfc
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitb96406d5516677d6d2b8c5d4d029ddfc', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitb96406d5516677d6d2b8c5d4d029ddfc', '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\ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitb96406d5516677d6d2b8c5d4d029ddfc
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequireb96406d5516677d6d2b8c5d4d029ddfc($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequireb96406d5516677d6d2b8c5d4d029ddfc($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 ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701', '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\ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::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\ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequireb0b1fc3c6dcfb64b49cb27396f086701($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequireb0b1fc3c6dcfb64b49cb27396f086701($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 ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
@@ -596,10 +596,10 @@ class ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc
596
  public static function getInitializer(ClassLoader $loader)
597
  {
598
  return \Closure::bind(function () use ($loader) {
599
- $loader->prefixLengthsPsr4 = ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc::$prefixLengthsPsr4;
600
- $loader->prefixDirsPsr4 = ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc::$prefixDirsPsr4;
601
- $loader->fallbackDirsPsr4 = ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc::$fallbackDirsPsr4;
602
- $loader->classMap = ComposerStaticInitb96406d5516677d6d2b8c5d4d029ddfc::$classMap;
603
 
604
  }, null, ClassLoader::class);
605
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
596
  public static function getInitializer(ClassLoader $loader)
597
  {
598
  return \Closure::bind(function () use ($loader) {
599
+ $loader->prefixLengthsPsr4 = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$prefixLengthsPsr4;
600
+ $loader->prefixDirsPsr4 = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$prefixDirsPsr4;
601
+ $loader->fallbackDirsPsr4 = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$fallbackDirsPsr4;
602
+ $loader->classMap = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$classMap;
603
 
604
  }, null, ClassLoader::class);
605
  }
vendor/composer/installed.json CHANGED
@@ -151,17 +151,17 @@
151
  },
152
  {
153
  "name": "wpdesk/wp-wpdesk-fs-compatibility",
154
- "version": "1.0.8",
155
- "version_normalized": "1.0.8.0",
156
  "source": {
157
  "type": "git",
158
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-fs-compatibility.git",
159
- "reference": "6cd8454513aa7ae0aa03333373bf87b4a53677ca"
160
  },
161
  "dist": {
162
  "type": "zip",
163
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-fs-compatibility/repository/archive.zip?sha=6cd8454513aa7ae0aa03333373bf87b4a53677ca",
164
- "reference": "6cd8454513aa7ae0aa03333373bf87b4a53677ca",
165
  "shasum": ""
166
  },
167
  "require": {
@@ -175,7 +175,7 @@
175
  "mockery/mockery": "^1.2",
176
  "phpunit/phpunit": "<7"
177
  },
178
- "time": "2020-12-03T15:04:21+00:00",
179
  "type": "library",
180
  "extra": {
181
  "text-domain": "wp-wpdesk-fs-compatibility",
151
  },
152
  {
153
  "name": "wpdesk/wp-wpdesk-fs-compatibility",
154
+ "version": "1.0.9",
155
+ "version_normalized": "1.0.9.0",
156
  "source": {
157
  "type": "git",
158
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-fs-compatibility.git",
159
+ "reference": "fd1157fe2f7033865d07635e8e5580cb8097272a"
160
  },
161
  "dist": {
162
  "type": "zip",
163
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-fs-compatibility/repository/archive.zip?sha=fd1157fe2f7033865d07635e8e5580cb8097272a",
164
+ "reference": "fd1157fe2f7033865d07635e8e5580cb8097272a",
165
  "shasum": ""
166
  },
167
  "require": {
175
  "mockery/mockery": "^1.2",
176
  "phpunit/phpunit": "<7"
177
  },
178
+ "time": "2020-12-16T17:22:21+00:00",
179
  "type": "library",
180
  "extra": {
181
  "text-domain": "wp-wpdesk-fs-compatibility",
vendor/wpdesk/wp-wpdesk-fs-compatibility/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  ## [1.0.8] - 2020-12-03
2
  ### Fixed
3
  - Messages
1
+ ## [1.0.9] - 2020-12-16
2
+ ### Fixed
3
+ - Changed notice message
4
+
5
  ## [1.0.8] - 2020-12-03
6
  ### Fixed
7
  - Messages
vendor/wpdesk/wp-wpdesk-fs-compatibility/lang/pl_PL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2020-12-03 15:24+0100\n"
6
- "PO-Revision-Date: 2020-12-03 15:25+0100\n"
7
  "Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n"
8
  "Language-Team: Polish (Poland)\n"
9
  "Language: pl_PL\n"
@@ -40,60 +40,75 @@ msgstr ""
40
  msgid "Go to the plugins list &rarr;"
41
  msgstr "Przejdź do listy wtyczek &rarr;"
42
 
43
- #: src/Notice.php:56
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  #, php-format
45
  msgid ""
46
  "%sFlexible Shipping%s plugin you are currently using is not compatible with "
47
  "the installed version of Flexible Shipping PRO and Flexible Shipping "
48
- "Locations. Please update the %sFlexible Shipping%s plugin to %s version."
 
49
  msgstr ""
50
  "Wtyczka %sFlexible Shipping%s nie jest kompatybilna z aktualnie używaną "
51
  "wersją wtyczki Flexible Shipping PRO oraz Flexible Shipping Lokalizacje. "
52
- "Prosimy zaktualizować wtyczkę %sFlexible Shipping%s do wersji %s."
 
53
 
54
- #: src/Notice.php:61
55
  #, php-format
56
  msgid ""
57
  "%sFlexible Shipping%s plugin you are currently using is not compatible with "
58
  "the installed version of Flexible Shipping PRO. Please update the %sFlexible "
59
- "Shipping%s plugin to %s version."
60
  msgstr ""
61
  "Wtyczka %sFlexible Shipping%s nie jest kompatybilna z aktualnie używaną "
62
  "wersją wtyczki Flexible Shipping PRO. Prosimy zaktualizować wtyczkę "
63
- "%sFlexible Shipping%s do wersji %s."
64
 
65
- #: src/Notice.php:66
66
  #, php-format
67
  msgid ""
68
  "%sFlexible Shipping%s plugin you are currently using is not compatible with "
69
  "the installed version of Flexible Shipping Locations. Please update the "
70
- "%sFlexible Shipping%s plugin to %s version."
71
  msgstr ""
72
  "Wtyczka %sFlexible Shipping%s nie jest kompatybilna z aktualnie używaną "
73
  "wersją wtyczki Flexible Shipping Lokalizacje. Prosimy zaktualizować wtyczkę "
74
- "%sFlexible Shipping%s do wersji %s."
75
 
76
- #: src/Notice.php:70
77
  #, php-format
78
  msgid ""
79
  "%sFlexible Shipping PRO%s plugin you are currently using is not compatible "
80
  "with the installed version of Flexible Shipping free. Please update the "
81
- "%sFlexible Shipping PRO%s plugin to %s version."
82
  msgstr ""
83
  "Wtyczka %sFlexible Shipping PRO%s nie jest kompatybilna z aktualnie używaną "
84
  "wersją darmowej wtyczki Flexible Shipping. Prosimy zaktualizować wtyczkę "
85
- "%sFlexible Shipping PRO%s do wersji %s."
86
 
87
- #: src/Notice.php:74
88
  #, php-format
89
  msgid ""
90
  "%sFlexible Shipping Locations%s plugin you are currently using is not "
91
  "compatible with the installed version of Flexible Shipping free. Please "
92
- "update the %sFlexible Shipping Locations%s plugin to %s version."
93
  msgstr ""
94
  "Wtyczka %sFlexible Shipping Lokalizacje%s nie jest kompatybilna z aktualnie "
95
  "używaną wersją darmowej wtyczki Flexible Shipping. Prosimy zaktualizować "
96
- "wtyczkę %sFlexible Shipping Lokalizacje%s do wersji %s."
97
 
98
  #: src/PluginCompatibilityChecker.php:96
99
  msgid "Flexible Shipping"
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-12-16 18:05+0100\n"
6
+ "PO-Revision-Date: 2020-12-16 18:14+0100\n"
7
  "Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n"
8
  "Language-Team: Polish (Poland)\n"
9
  "Language: pl_PL\n"
40
  msgid "Go to the plugins list &rarr;"
41
  msgstr "Przejdź do listy wtyczek &rarr;"
42
 
43
+ #: src/Notice.php:50
44
+ #, php-format
45
+ msgid ""
46
+ "If the WordPress updater hasn't informed you about the newer versions "
47
+ "available, please %sfollow these instructions &rarr;%s"
48
+ msgstr ""
49
+ "Jeżeli nie została automatycznie wyświetlona informacja o dostępnej "
50
+ "aktualizacji wtyczki, postępuj %szgodnie z tymi instrukcjami &rarr;%s"
51
+
52
+ #: src/Notice.php:51
53
+ msgid "https://wpde.sk/fs-2-docs"
54
+ msgstr "https://wpde.sk/fs-2-docs-pl"
55
+
56
+ #: src/Notice.php:62
57
  #, php-format
58
  msgid ""
59
  "%sFlexible Shipping%s plugin you are currently using is not compatible with "
60
  "the installed version of Flexible Shipping PRO and Flexible Shipping "
61
+ "Locations. Please update the %sFlexible Shipping%s plugin to %s version or "
62
+ "newer."
63
  msgstr ""
64
  "Wtyczka %sFlexible Shipping%s nie jest kompatybilna z aktualnie używaną "
65
  "wersją wtyczki Flexible Shipping PRO oraz Flexible Shipping Lokalizacje. "
66
+ "Prosimy zaktualizować wtyczkę %sFlexible Shipping%s do wersji %s lub "
67
+ "najnowszej."
68
 
69
+ #: src/Notice.php:67
70
  #, php-format
71
  msgid ""
72
  "%sFlexible Shipping%s plugin you are currently using is not compatible with "
73
  "the installed version of Flexible Shipping PRO. Please update the %sFlexible "
74
+ "Shipping%s plugin to %s version or newer."
75
  msgstr ""
76
  "Wtyczka %sFlexible Shipping%s nie jest kompatybilna z aktualnie używaną "
77
  "wersją wtyczki Flexible Shipping PRO. Prosimy zaktualizować wtyczkę "
78
+ "%sFlexible Shipping%s do wersji %s lub najnowszej."
79
 
80
+ #: src/Notice.php:72
81
  #, php-format
82
  msgid ""
83
  "%sFlexible Shipping%s plugin you are currently using is not compatible with "
84
  "the installed version of Flexible Shipping Locations. Please update the "
85
+ "%sFlexible Shipping%s plugin to %s version or newer."
86
  msgstr ""
87
  "Wtyczka %sFlexible Shipping%s nie jest kompatybilna z aktualnie używaną "
88
  "wersją wtyczki Flexible Shipping Lokalizacje. Prosimy zaktualizować wtyczkę "
89
+ "%sFlexible Shipping%s do wersji %s lub najnowszej."
90
 
91
+ #: src/Notice.php:76
92
  #, php-format
93
  msgid ""
94
  "%sFlexible Shipping PRO%s plugin you are currently using is not compatible "
95
  "with the installed version of Flexible Shipping free. Please update the "
96
+ "%sFlexible Shipping PRO%s plugin to %s version or newer."
97
  msgstr ""
98
  "Wtyczka %sFlexible Shipping PRO%s nie jest kompatybilna z aktualnie używaną "
99
  "wersją darmowej wtyczki Flexible Shipping. Prosimy zaktualizować wtyczkę "
100
+ "%sFlexible Shipping PRO%s do wersji %s lub najnowszej."
101
 
102
+ #: src/Notice.php:80
103
  #, php-format
104
  msgid ""
105
  "%sFlexible Shipping Locations%s plugin you are currently using is not "
106
  "compatible with the installed version of Flexible Shipping free. Please "
107
+ "update the %sFlexible Shipping Locations%s plugin to %s version or newer."
108
  msgstr ""
109
  "Wtyczka %sFlexible Shipping Lokalizacje%s nie jest kompatybilna z aktualnie "
110
  "używaną wersją darmowej wtyczki Flexible Shipping. Prosimy zaktualizować "
111
+ "wtyczkę %sFlexible Shipping Lokalizacje%s do wersji %s lub najnowszej."
112
 
113
  #: src/PluginCompatibilityChecker.php:96
114
  msgid "Flexible Shipping"
vendor/wpdesk/wp-wpdesk-fs-compatibility/src/Notice.php CHANGED
@@ -46,6 +46,12 @@ class Notice {
46
 
47
  $checker = $this->plugin_compatibility_checker;
48
 
 
 
 
 
 
 
49
  if ( ! $checker->is_fs_compatible() ) {
50
  if (
51
  $checker->is_active_fs_pro() &&
@@ -53,25 +59,25 @@ class Notice {
53
  $checker->is_active_fs_loc() &&
54
  $checker->is_fs_loc_compatible()
55
  ) {
56
- new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO and Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version() ), 'error' );
57
  } elseif (
58
  $checker->is_active_fs_pro() &&
59
  $checker->is_fs_pro_compatible()
60
  ) {
61
- new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO. Please update the %sFlexible Shipping%s plugin to %s version.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version() ), 'error' );
62
  } elseif (
63
  $checker->is_active_fs_loc() &&
64
  $checker->is_fs_loc_compatible()
65
  ) {
66
- new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version() ), 'error' );
67
  }
68
  } else {
69
  if ( ! $checker->is_fs_pro_compatible() ) {
70
- new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping PRO%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping PRO%s plugin to %s version.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_pro->get_required_version() ), 'error' );
71
  }
72
 
73
  if ( ! $checker->is_fs_loc_compatible() ) {
74
- new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping Locations%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping Locations%s plugin to %s version.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_loc->get_required_version() ), 'error' );
75
  }
76
  }
77
  }
46
 
47
  $checker = $this->plugin_compatibility_checker;
48
 
49
+ $additional_info = ' ' . sprintf(
50
+ __( 'If the WordPress updater hasn\'t informed you about the newer versions available, please %sfollow these instructions &rarr;%s', 'wp-wpdesk-fs-compatibility' ),
51
+ sprintf( '<a href="%s" target="_blank">', __( 'https://wpde.sk/fs-2-docs', 'wp-wpdesk-fs-compatibility' ) ),
52
+ '</a>',
53
+ );
54
+
55
  if ( ! $checker->is_fs_compatible() ) {
56
  if (
57
  $checker->is_active_fs_pro() &&
59
  $checker->is_active_fs_loc() &&
60
  $checker->is_fs_loc_compatible()
61
  ) {
62
+ new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO and Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version or newer.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version() ) . $additional_info, 'error' );
63
  } elseif (
64
  $checker->is_active_fs_pro() &&
65
  $checker->is_fs_pro_compatible()
66
  ) {
67
+ new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO. Please update the %sFlexible Shipping%s plugin to %s version or newer.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version() ) . $additional_info, 'error' );
68
  } elseif (
69
  $checker->is_active_fs_loc() &&
70
  $checker->is_fs_loc_compatible()
71
  ) {
72
+ new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version or newer.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version() ) . $additional_info, 'error' );
73
  }
74
  } else {
75
  if ( ! $checker->is_fs_pro_compatible() ) {
76
+ new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping PRO%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping PRO%s plugin to %s version or newer.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_pro->get_required_version() ) . $additional_info, 'error' );
77
  }
78
 
79
  if ( ! $checker->is_fs_loc_compatible() ) {
80
+ new \WPDesk\Notice\Notice( sprintf( __( '%sFlexible Shipping Locations%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping Locations%s plugin to %s version or newer.', 'wp-wpdesk-fs-compatibility' ), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_loc->get_required_version() ) . $additional_info, 'error' );
81
  }
82
  }
83
  }
vendor_prefixed/wpdesk/wp-wpdesk-fs-compatibility/src/Notice.php CHANGED
@@ -43,20 +43,21 @@ class Notice
43
  }
44
  \add_filter('plugin_compatibility_checker/notice_added', '__return_true');
45
  $checker = $this->plugin_compatibility_checker;
 
46
  if (!$checker->is_fs_compatible()) {
47
  if ($checker->is_active_fs_pro() && $checker->is_fs_pro_compatible() && $checker->is_active_fs_loc() && $checker->is_fs_loc_compatible()) {
48
- new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO and Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version()), 'error');
49
  } elseif ($checker->is_active_fs_pro() && $checker->is_fs_pro_compatible()) {
50
- new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO. Please update the %sFlexible Shipping%s plugin to %s version.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version()), 'error');
51
  } elseif ($checker->is_active_fs_loc() && $checker->is_fs_loc_compatible()) {
52
- new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version()), 'error');
53
  }
54
  } else {
55
  if (!$checker->is_fs_pro_compatible()) {
56
- new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping PRO%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping PRO%s plugin to %s version.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_pro->get_required_version()), 'error');
57
  }
58
  if (!$checker->is_fs_loc_compatible()) {
59
- new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping Locations%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping Locations%s plugin to %s version.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_loc->get_required_version()), 'error');
60
  }
61
  }
62
  }
43
  }
44
  \add_filter('plugin_compatibility_checker/notice_added', '__return_true');
45
  $checker = $this->plugin_compatibility_checker;
46
+ $additional_info = ' ' . \sprintf(\__('If the WordPress updater hasn\'t informed you about the newer versions available, please %sfollow these instructions &rarr;%s', 'flexible-shipping'), \sprintf('<a href="%s" target="_blank">', \__('https://wpde.sk/fs-2-docs', 'flexible-shipping')), '</a>');
47
  if (!$checker->is_fs_compatible()) {
48
  if ($checker->is_active_fs_pro() && $checker->is_fs_pro_compatible() && $checker->is_active_fs_loc() && $checker->is_fs_loc_compatible()) {
49
+ new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO and Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version or newer.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version()) . $additional_info, 'error');
50
  } elseif ($checker->is_active_fs_pro() && $checker->is_fs_pro_compatible()) {
51
+ new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping PRO. Please update the %sFlexible Shipping%s plugin to %s version or newer.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version()) . $additional_info, 'error');
52
  } elseif ($checker->is_active_fs_loc() && $checker->is_fs_loc_compatible()) {
53
+ new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping%s plugin you are currently using is not compatible with the installed version of Flexible Shipping Locations. Please update the %sFlexible Shipping%s plugin to %s version or newer.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs->get_required_version()) . $additional_info, 'error');
54
  }
55
  } else {
56
  if (!$checker->is_fs_pro_compatible()) {
57
+ new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping PRO%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping PRO%s plugin to %s version or newer.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_pro->get_required_version()) . $additional_info, 'error');
58
  }
59
  if (!$checker->is_fs_loc_compatible()) {
60
+ new \FSVendor\WPDesk\Notice\Notice(\sprintf(\__('%sFlexible Shipping Locations%s plugin you are currently using is not compatible with the installed version of Flexible Shipping free. Please update the %sFlexible Shipping Locations%s plugin to %s version or newer.', 'flexible-shipping'), '<strong>', '</strong>', '<strong>', '</strong>', $checker->fs_loc->get_required_version()) . $additional_info, 'error');
61
  }
62
  }
63
  }