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

Version Description

  • 2020-03-12 =
  • Fixed error in settings on unknown field type
Download this release

Release Info

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

Code changes from version 2.4.1 to 2.4.2

classes/views/settings-fields.php CHANGED
@@ -398,7 +398,7 @@ $validation_options = $this->plugin->field_validation->get_validation_options( $
398
  <?php endif; ?>
399
 
400
  <?php if ( $is_custom_field ): ?>
401
- <?php if ( $fcf_field_type->has_default_value() ): ?>
402
  <div class="default">
403
  <label for="default_<?php echo esc_attr($name); ?>"><?php _e( 'Default value', 'flexible-checkout-fields' ) ?></label>
404
 
398
  <?php endif; ?>
399
 
400
  <?php if ( $is_custom_field ): ?>
401
+ <?php if ( $fcf_field_type && $fcf_field_type->has_default_value() ): ?>
402
  <div class="default">
403
  <label for="default_<?php echo esc_attr($name); ?>"><?php _e( 'Default value', 'flexible-checkout-fields' ) ?></label>
404
 
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.1
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.1';
41
  $plugin_release_timestamp = '2020-03-12 10:31';
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.2
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.2';
41
  $plugin_release_timestamp = '2020-03-12 10:31';
42
 
43
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
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.3.2
8
- Stable tag: 2.4.1
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.1 - 2020-03-10 =
197
  * Added formatting for billing and shipping fields on pages and emails
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.3.2
8
+ Stable tag: 2.4.2
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.2 - 2020-03-12 =
197
+ * Fixed error in settings on unknown field type
198
+
199
  = 2.4.1 - 2020-03-10 =
200
  * Added formatting for billing and shipping fields on pages and emails
201
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit2855f39e43c1d84c7a6c1c01a736e101::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit7cd9e3397b9e8ab13c9b1c9764aaedbd::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit2855f39e43c1d84c7a6c1c01a736e101
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit2855f39e43c1d84c7a6c1c01a736e101
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit2855f39e43c1d84c7a6c1c01a736e101', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit2855f39e43c1d84c7a6c1c01a736e101', '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\ComposerStaticInit2855f39e43c1d84c7a6c1c01a736e101::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 ComposerAutoloaderInit7cd9e3397b9e8ab13c9b1c9764aaedbd
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit7cd9e3397b9e8ab13c9b1c9764aaedbd', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit7cd9e3397b9e8ab13c9b1c9764aaedbd', '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\ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd::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 ComposerStaticInit2855f39e43c1d84c7a6c1c01a736e101
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -276,9 +276,9 @@ class ComposerStaticInit2855f39e43c1d84c7a6c1c01a736e101
276
  public static function getInitializer(ClassLoader $loader)
277
  {
278
  return \Closure::bind(function () use ($loader) {
279
- $loader->prefixLengthsPsr4 = ComposerStaticInit2855f39e43c1d84c7a6c1c01a736e101::$prefixLengthsPsr4;
280
- $loader->prefixDirsPsr4 = ComposerStaticInit2855f39e43c1d84c7a6c1c01a736e101::$prefixDirsPsr4;
281
- $loader->classMap = ComposerStaticInit2855f39e43c1d84c7a6c1c01a736e101::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd
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 = ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd::$prefixLengthsPsr4;
280
+ $loader->prefixDirsPsr4 = ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd::$prefixDirsPsr4;
281
+ $loader->classMap = ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }