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

Version Description

  • 2020-04-03 =
  • Fixed warnings on settings page
Download this release

Release Info

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

Code changes from version 2.4.6 to 2.4.7

classes/views/settings-fields.php CHANGED
@@ -3,7 +3,10 @@
3
  global $woocommerce;
4
 
5
  $checkout_fields = $args['checkout_fields'];
6
- $settings = get_option( 'inspire_checkout_fields_settings' );
 
 
 
7
 
8
  $checkout_field_type = $args['plugin']->get_fields();
9
 
3
  global $woocommerce;
4
 
5
  $checkout_fields = $args['checkout_fields'];
6
+ $settings = get_option( 'inspire_checkout_fields_settings', array() );
7
+ if ( ! is_array( $settings ) ) {
8
+ $settings = array();
9
+ }
10
 
11
  $checkout_field_type = $args['plugin']->get_fields();
12
 
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.6
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.6';
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.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.4.7';
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-02T16:48:18+00:00\n"
11
- "PO-Revision-Date: 2020-04-02T16:48:18+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"
@@ -22,65 +22,65 @@ msgstr ""
22
  msgid "If you want to continue using Flexible Checkout Fields for free, %splease add a review%s. You will help us support the free version. Thank you."
23
  msgstr ""
24
 
25
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:11
26
  msgid "Thank You Page"
27
  msgstr ""
28
 
29
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:12
30
  msgid "My Account - address"
31
  msgstr ""
32
 
33
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:13
34
  msgid "My Account - order"
35
  msgstr ""
36
 
37
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:14
38
  msgid "Emails"
39
  msgstr ""
40
 
41
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:18
42
  msgid "Display field in the new line"
43
  msgstr ""
44
 
45
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:19
46
  msgid "Display field's label"
47
  msgstr ""
48
 
49
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:80
50
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:361
51
  msgid "Meta name: %s."
52
  msgstr ""
53
 
54
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:324
55
  msgid "Requirement of this field is controlled by WooCommerce and cannot be changed."
56
  msgstr ""
57
 
58
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:378
59
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:803
60
  msgid "For Post Code validation works only with country."
61
  msgstr ""
62
 
63
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:471
64
  msgid "This field is address locale dependent and cannot be modified."
65
  msgstr ""
66
 
67
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:541
68
  msgid "Display state abbreviations"
69
  msgstr ""
70
 
71
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:546
72
  msgid "Display a comma before, if the field is not in the new line"
73
  msgstr ""
74
 
75
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:639
76
  msgid "Invalid field name: %s. The name already exists."
77
  msgstr ""
78
 
79
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:791
80
  msgid "Meta name: "
81
  msgstr ""
82
 
83
- #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:989
84
  msgid "Do you really want to delete this field: %s? Deleting a field remove it from all orders."
85
  msgstr ""
86
 
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"
22
  msgid "If you want to continue using Flexible Checkout Fields for free, %splease add a review%s. You will help us support the free version. Thank you."
23
  msgstr ""
24
 
25
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:14
26
  msgid "Thank You Page"
27
  msgstr ""
28
 
29
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:15
30
  msgid "My Account - address"
31
  msgstr ""
32
 
33
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:16
34
  msgid "My Account - order"
35
  msgstr ""
36
 
37
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:17
38
  msgid "Emails"
39
  msgstr ""
40
 
41
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:21
42
  msgid "Display field in the new line"
43
  msgstr ""
44
 
45
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:22
46
  msgid "Display field's label"
47
  msgstr ""
48
 
49
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:83
50
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:364
51
  msgid "Meta name: %s."
52
  msgstr ""
53
 
54
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:327
55
  msgid "Requirement of this field is controlled by WooCommerce and cannot be changed."
56
  msgstr ""
57
 
58
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:381
59
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:806
60
  msgid "For Post Code validation works only with country."
61
  msgstr ""
62
 
63
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:474
64
  msgid "This field is address locale dependent and cannot be modified."
65
  msgstr ""
66
 
67
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:544
68
  msgid "Display state abbreviations"
69
  msgstr ""
70
 
71
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:549
72
  msgid "Display a comma before, if the field is not in the new line"
73
  msgstr ""
74
 
75
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:642
76
  msgid "Invalid field name: %s. The name already exists."
77
  msgstr ""
78
 
79
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:794
80
  msgid "Meta name: "
81
  msgstr ""
82
 
83
+ #: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:992
84
  msgid "Do you really want to delete this field: %s? Deleting a field remove it from all orders."
85
  msgstr ""
86
 
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.6
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.6 - 2020-03-30 =
197
  * Fixed missing jQuery UI images
198
  * Fixed checkboxes in user profile
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
 
194
  == Changelog ==
195
 
196
+ = 2.4.7 - 2020-04-03 =
197
+ * Fixed warnings on settings page
198
+
199
  = 2.4.6 - 2020-03-30 =
200
  * Fixed missing jQuery UI images
201
  * Fixed checkboxes in user profile
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit422a927d0f497d5f81b6237e38961a5d::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit422a927d0f497d5f81b6237e38961a5d
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit422a927d0f497d5f81b6237e38961a5d
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit422a927d0f497d5f81b6237e38961a5d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit422a927d0f497d5f81b6237e38961a5d', '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\ComposerStaticInit422a927d0f497d5f81b6237e38961a5d::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 ComposerAutoloaderInit78e717e6dd2fa505d6f53c334ede6826
6
  {
7
  private static $loader;
8
 
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) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit422a927d0f497d5f81b6237e38961a5d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -276,9 +276,9 @@ class ComposerStaticInit422a927d0f497d5f81b6237e38961a5d
276
  public static function getInitializer(ClassLoader $loader)
277
  {
278
  return \Closure::bind(function () use ($loader) {
279
- $loader->prefixLengthsPsr4 = ComposerStaticInit422a927d0f497d5f81b6237e38961a5d::$prefixLengthsPsr4;
280
- $loader->prefixDirsPsr4 = ComposerStaticInit422a927d0f497d5f81b6237e38961a5d::$prefixDirsPsr4;
281
- $loader->classMap = ComposerStaticInit422a927d0f497d5f81b6237e38961a5d::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826
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 = ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::$prefixLengthsPsr4;
280
+ $loader->prefixDirsPsr4 = ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::$prefixDirsPsr4;
281
+ $loader->classMap = ComposerStaticInit78e717e6dd2fa505d6f53c334ede6826::$classMap;
282
 
283
  }, null, ClassLoader::class);
284
  }