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

Version Description

  • 2019-08-12 =
  • Fixed warning in admin are on CSS class
Download this release

Release Info

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

Code changes from version 2.0.6 to 2.0.7

classes/class-flexible-checkout-fields-plugin.php CHANGED
@@ -683,10 +683,12 @@ class Flexible_Checkout_Fields_Plugin extends \WPDesk\PluginBuilder\Plugin\Abstr
683
  $new[ $key ]['placeholder'] = '';
684
  }
685
 
686
- if ( is_array( $field['class'] ) ) {
687
- $new[ $key ]['class'][0] = implode( ' ', $field['class'] );
688
- } else {
689
- $new[ $key ]['class'][0] = $field['class'];
 
 
690
  }
691
 
692
  if ( ! empty( $field['name'] ) ) {
683
  $new[ $key ]['placeholder'] = '';
684
  }
685
 
686
+ if ( isset( $field['class'] ) ) {
687
+ if ( is_array( $field['class'] ) ) {
688
+ $new[ $key ]['class'][0] = implode( ' ', $field['class'] );
689
+ } else {
690
+ $new[ $key ]['class'][0] = $field['class'];
691
+ }
692
  }
693
 
694
  if ( ! empty( $field['name'] ) ) {
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.0.6
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
@@ -37,8 +37,8 @@ if ( ! defined( 'ABSPATH' ) ) {
37
 
38
 
39
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
40
- $plugin_version = '2.0.6';
41
- $plugin_release_timestamp = '2019-08-12 08:05';
42
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
43
 
44
  if ( ! defined( 'FCF_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.0.7
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.0.7';
41
+ $plugin_release_timestamp = '2019-08-13 10:10';
42
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
43
 
44
  if ( ! defined( 'FCF_VERSION' ) ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpdesk.net/flexible-checkout-fields-woocommerce/
4
  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
5
  Requires at least: 4.5
6
  Tested up to: 5.2.0
7
- Stable tag: 2.0.6
8
  Requires PHP: 5.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -188,6 +188,9 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
188
 
189
  == Changelog ==
190
 
 
 
 
191
  = 2.0.5 - 2019-08-06 =
192
  * Postcode validation is available only in billing and shipping sections
193
 
4
  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
5
  Requires at least: 4.5
6
  Tested up to: 5.2.0
7
+ Stable tag: 2.0.7
8
  Requires PHP: 5.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
188
 
189
  == Changelog ==
190
 
191
+ = 2.0.7 - 2019-08-12 =
192
+ * Fixed warning in admin are on CSS class
193
+
194
  = 2.0.5 - 2019-08-06 =
195
  * Postcode validation is available only in billing and shipping sections
196
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb071f858f8e2ca73471279687bb0e39f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit847bdd6cb47efe0a21dc79bd844805ca::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb071f858f8e2ca73471279687bb0e39f
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb071f858f8e2ca73471279687bb0e39f
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitb071f858f8e2ca73471279687bb0e39f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitb071f858f8e2ca73471279687bb0e39f', '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\ComposerStaticInitb071f858f8e2ca73471279687bb0e39f::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitb071f858f8e2ca73471279687bb0e39f
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitb071f858f8e2ca73471279687bb0e39f::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequireb071f858f8e2ca73471279687bb0e39f($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequireb071f858f8e2ca73471279687bb0e39f($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 ComposerAutoloaderInit847bdd6cb47efe0a21dc79bd844805ca
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit847bdd6cb47efe0a21dc79bd844805ca', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit847bdd6cb47efe0a21dc79bd844805ca', '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\ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca::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\ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire847bdd6cb47efe0a21dc79bd844805ca($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire847bdd6cb47efe0a21dc79bd844805ca($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 ComposerStaticInitb071f858f8e2ca73471279687bb0e39f
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
@@ -281,9 +281,9 @@ class ComposerStaticInitb071f858f8e2ca73471279687bb0e39f
281
  public static function getInitializer(ClassLoader $loader)
282
  {
283
  return \Closure::bind(function () use ($loader) {
284
- $loader->prefixLengthsPsr4 = ComposerStaticInitb071f858f8e2ca73471279687bb0e39f::$prefixLengthsPsr4;
285
- $loader->prefixDirsPsr4 = ComposerStaticInitb071f858f8e2ca73471279687bb0e39f::$prefixDirsPsr4;
286
- $loader->classMap = ComposerStaticInitb071f858f8e2ca73471279687bb0e39f::$classMap;
287
 
288
  }, null, ClassLoader::class);
289
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
281
  public static function getInitializer(ClassLoader $loader)
282
  {
283
  return \Closure::bind(function () use ($loader) {
284
+ $loader->prefixLengthsPsr4 = ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca::$prefixLengthsPsr4;
285
+ $loader->prefixDirsPsr4 = ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca::$prefixDirsPsr4;
286
+ $loader->classMap = ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca::$classMap;
287
 
288
  }, null, ClassLoader::class);
289
  }