Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager - Version 2.4.8

Version Description

If you are upgrading from the old WooCommerce Checkout Fields version (1.1, woocommerce-checkout-fields) make sure to completely delete the old version first. Your settings will be kept. If you install the new version without deleting the old one you may break your WordPress installation.

Download this release

Release Info

Developer wpdesk
Plugin Icon wp plugin Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager
Version 2.4.8
Comparing to
See all releases

Code changes from version 2.4.7 to 2.4.8

classes/settings.php CHANGED
@@ -289,6 +289,9 @@
289
 
290
  foreach ( $_POST[$this->plugin->get_namespace()] as $name => $value ) {
291
  $settings = get_option( 'inspire_checkout_fields_' . $name, array() );
 
 
 
292
  if ( is_array( $value )) {
293
  foreach ( $value as $key => $val ) {
294
  $settings[$key] = $val;
289
 
290
  foreach ( $_POST[$this->plugin->get_namespace()] as $name => $value ) {
291
  $settings = get_option( 'inspire_checkout_fields_' . $name, array() );
292
+ if ( ! is_array( $settings ) ) {
293
+ $settings = array();
294
+ }
295
  if ( is_array( $value )) {
296
  foreach ( $value as $key => $val ) {
297
  $settings[$key] = $val;
flexible-checkout-fields.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Flexible Checkout Fields
4
  Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
5
  Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
6
- Version: 2.4.7
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
@@ -37,7 +37,7 @@ if ( ! defined( 'ABSPATH' ) ) {
37
 
38
 
39
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
40
- $plugin_version = '2.4.7';
41
  $plugin_release_timestamp = '2020-04-01 14:43';
42
 
43
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
3
  Plugin Name: Flexible Checkout Fields
4
  Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
5
  Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
6
+ Version: 2.4.8
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
37
 
38
 
39
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
40
+ $plugin_version = '2.4.8';
41
  $plugin_release_timestamp = '2020-04-01 14:43';
42
 
43
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
lang/flexible-checkout-fields.pot CHANGED
@@ -7,8 +7,8 @@ msgstr ""
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "POT-Creation-Date: 2020-04-08T12:29:02+00:00\n"
11
- "PO-Revision-Date: 2020-04-08T12:29:02+00:00\n"
12
  "Language: \n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
@@ -254,7 +254,7 @@ msgstr ""
254
  msgid "Flexible Checkout Fields: security check error. Fields not saved!"
255
  msgstr ""
256
 
257
- #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:314
258
  msgid "You cannot use this field name: %s, for field: %s."
259
  msgstr ""
260
 
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "POT-Creation-Date: 2020-04-15T17:06:41+00:00\n"
11
+ "PO-Revision-Date: 2020-04-15T17:06:41+00:00\n"
12
  "Language: \n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
254
  msgid "Flexible Checkout Fields: security check error. Fields not saved!"
255
  msgstr ""
256
 
257
+ #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:317
258
  msgid "You cannot use this field name: %s, for field: %s."
259
  msgstr ""
260
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.wpdesk.net/flexible-checkout-fields-woocommerce/
5
  Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
6
  Requires at least: 4.5
7
  Tested up to: 5.4
8
- Stable tag: 2.4.7
9
  Requires PHP: 5.6
10
  License: GPLv3 or later
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -193,6 +193,9 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
193
 
194
  == Changelog ==
195
 
 
 
 
196
  = 2.4.7 - 2020-04-03 =
197
  * Fixed warnings on settings page
198
 
5
  Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
6
  Requires at least: 4.5
7
  Tested up to: 5.4
8
+ Stable tag: 2.4.8
9
  Requires PHP: 5.6
10
  License: GPLv3 or later
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
193
 
194
  == Changelog ==
195
 
196
+ = 2.4.8- 2020-04-09 =
197
+ * Fixed warnings on settings saving
198
+
199
  = 2.4.7 - 2020-04-03 =
200
  * Fixed warnings on settings page
201
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitc263f7fffbec2c3b2a0670b577797997::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826', '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\ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::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 ComposerAutoloaderInitc263f7fffbec2c3b2a0670b577797997
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitc263f7fffbec2c3b2a0670b577797997', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitc263f7fffbec2c3b2a0670b577797997', '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\ComposerStaticInitc263f7fffbec2c3b2a0670b577797997::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 ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -276,9 +276,9 @@ class ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826
276
  public static function getInitializer(ClassLoader $loader)
277
  {
278
  return \Closure::bind(function () use ($loader) {
279
- $loader->prefixLengthsPsr4 = ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::$prefixLengthsPsr4;
280
- $loader->prefixDirsPsr4 = ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::$prefixDirsPsr4;
281
- $loader->classMap = ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitc263f7fffbec2c3b2a0670b577797997
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
276
  public static function getInitializer(ClassLoader $loader)
277
  {
278
  return \Closure::bind(function () use ($loader) {
279
+ $loader->prefixLengthsPsr4 = ComposerStaticInitc263f7fffbec2c3b2a0670b577797997::$prefixLengthsPsr4;
280
+ $loader->prefixDirsPsr4 = ComposerStaticInitc263f7fffbec2c3b2a0670b577797997::$prefixDirsPsr4;
281
+ $loader->classMap = ComposerStaticInitc263f7fffbec2c3b2a0670b577797997::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }