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

Version Description

  • 2020-03-20 =
  • Fixed fatal error in user profile
Download this release

Release Info

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

Code changes from version 2.4.3 to 2.4.4

classes/user-profile.php CHANGED
@@ -102,9 +102,15 @@ class Flexible_Checkout_Fields_User_Profile {
102
  *
103
  * @return array mixed
104
  */
105
- public function add_customer_meta_fields( array $fields ) {
106
- $fields['billing']['fields'] = $this->prepare_fields( WC()->countries->get_address_fields( '', 'billing_' ), $fields['billing']['fields'] );
107
- $fields['shipping']['fields'] = $this->prepare_fields( WC()->countries->get_address_fields( '', 'shipping_' ), $fields['shipping']['fields'] );
 
 
 
 
 
 
108
  return $fields;
109
  }
110
 
102
  *
103
  * @return array mixed
104
  */
105
+ public function add_customer_meta_fields( $fields ) {
106
+ $fields['billing']['fields'] = $this->prepare_fields(
107
+ WC()->countries->get_address_fields( '', 'billing_' ),
108
+ isset( $fields['billing']['fields'] ) ? $fields['billing']['fields'] : array()
109
+ );
110
+ $fields['shipping']['fields'] = $this->prepare_fields(
111
+ WC()->countries->get_address_fields( '', 'shipping_' ),
112
+ isset( $fields['shipping']['fields'] ) ? $fields['shipping']['fields'] : array()
113
+ );
114
  return $fields;
115
  }
116
 
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.3
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
@@ -11,7 +11,7 @@
11
  Requires at least: 4.6
12
  Tested up to: 5.3.2
13
  WC requires at least: 3.6.0
14
- WC tested up to: 4.0.0
15
  Requires PHP: 5.6
16
 
17
  Copyright 2017 WP Desk Ltd.
@@ -37,8 +37,8 @@ if ( ! defined( 'ABSPATH' ) ) {
37
 
38
 
39
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
40
- $plugin_version = '2.4.3';
41
- $plugin_release_timestamp = '2020-03-18 14:54';
42
 
43
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
44
 
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.4
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
11
  Requires at least: 4.6
12
  Tested up to: 5.3.2
13
  WC requires at least: 3.6.0
14
+ WC tested up to: 4.0.1
15
  Requires PHP: 5.6
16
 
17
  Copyright 2017 WP Desk Ltd.
37
 
38
 
39
  /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
40
+ $plugin_version = '2.4.4';
41
+ $plugin_release_timestamp = '2020-03-20 17:31';
42
 
43
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
44
 
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-03-19T08:04:02+00:00\n"
11
- "PO-Revision-Date: 2020-03-19T08:04: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"
@@ -199,7 +199,7 @@ msgid "Upgrade"
199
  msgstr ""
200
 
201
  #: /builds/wpdesk/flexible-checkout-fields/classes/display-options.php:103
202
- #: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:172
203
  msgid "Additional Information"
204
  msgstr ""
205
 
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-03-20T17:07:00+00:00\n"
11
+ "PO-Revision-Date: 2020-03-20T17:07:00+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"
199
  msgstr ""
200
 
201
  #: /builds/wpdesk/flexible-checkout-fields/classes/display-options.php:103
202
+ #: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:178
203
  msgid "Additional Information"
204
  msgstr ""
205
 
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.3
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.3 - 2020-03-12 =
197
  * Fixed user profile form
198
  * Fixed field name validation
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.4
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.4 - 2020-03-20 =
197
+ * Fixed fatal error in user profile
198
+
199
  = 2.4.3 - 2020-03-12 =
200
  * Fixed user profile form
201
  * Fixed field name validation
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit4adab2c7266dc2eba826917e7cce5eff::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d', '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\ComposerStaticInit192f3a5e03c297a798c991607be4250d::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 ComposerAutoloaderInit4adab2c7266dc2eba826917e7cce5eff
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit4adab2c7266dc2eba826917e7cce5eff', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit4adab2c7266dc2eba826917e7cce5eff', '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\ComposerStaticInit4adab2c7266dc2eba826917e7cce5eff::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 ComposerStaticInit192f3a5e03c297a798c991607be4250d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -276,9 +276,9 @@ class ComposerStaticInit192f3a5e03c297a798c991607be4250d
276
  public static function getInitializer(ClassLoader $loader)
277
  {
278
  return \Closure::bind(function () use ($loader) {
279
- $loader->prefixLengthsPsr4 = ComposerStaticInit192f3a5e03c297a798c991607be4250d::$prefixLengthsPsr4;
280
- $loader->prefixDirsPsr4 = ComposerStaticInit192f3a5e03c297a798c991607be4250d::$prefixDirsPsr4;
281
- $loader->classMap = ComposerStaticInit192f3a5e03c297a798c991607be4250d::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit4adab2c7266dc2eba826917e7cce5eff
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 = ComposerStaticInit4adab2c7266dc2eba826917e7cce5eff::$prefixLengthsPsr4;
280
+ $loader->prefixDirsPsr4 = ComposerStaticInit4adab2c7266dc2eba826917e7cce5eff::$prefixDirsPsr4;
281
+ $loader->classMap = ComposerStaticInit4adab2c7266dc2eba826917e7cce5eff::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }