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

Version Description

  • 2021-03-31 =
  • Removed validation for Postcode for fields other than Postcode/ZIP
  • Fixed formatting values of State/County fields
Download this release

Release Info

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

Code changes from version 3.0.7 to 3.0.8

classes/field.php CHANGED
@@ -252,8 +252,7 @@ class Flexible_Checkout_Fields_Field {
252
  */
253
  public function get_name_for_address_format() {
254
  $name = $this->field_data['name'];
255
- if ( $this->get_type() === self::FIELD_TYPE_STATE
256
- && isset( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_CODE ) ] )
257
  && 1 === intval( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_CODE ) ] )
258
  ) {
259
  $name = 'state_code';
252
  */
253
  public function get_name_for_address_format() {
254
  $name = $this->field_data['name'];
255
+ if ( isset( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_CODE ) ] )
 
256
  && 1 === intval( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_CODE ) ] )
257
  ) {
258
  $name = 'state_code';
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: 3.0.7
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
@@ -39,7 +39,7 @@ if ( ! defined( 'ABSPATH' ) ) {
39
 
40
 
41
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
42
- $plugin_version = '3.0.7';
43
 
44
  /*
45
  * Update when conditions are met:
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: 3.0.8
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-checkout-fields
39
 
40
 
41
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
42
+ $plugin_version = '3.0.8';
43
 
44
  /*
45
  * Update when conditions are met:
lang/flexible-checkout-fields.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Flexible Checkout Fields plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Flexible Checkout Fields 3.0.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-checkout-fields\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-03-18T09:37:15+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: flexible-checkout-fields\n"
@@ -49,12 +49,14 @@ msgid "Select option"
49
  msgstr ""
50
 
51
  #: classes/filed-validation.php:73
52
- #: src/Settings/Option/ValidationOption.php:64
 
53
  msgid "Default"
54
  msgstr ""
55
 
56
  #: classes/filed-validation.php:74
57
- #: src/Settings/Option/ValidationOption.php:65
 
58
  msgid "None"
59
  msgstr ""
60
 
@@ -63,12 +65,13 @@ msgid "Email"
63
  msgstr ""
64
 
65
  #: classes/filed-validation.php:76
66
- #: src/Settings/Option/ValidationOption.php:67
 
67
  msgid "Phone"
68
  msgstr ""
69
 
70
  #: classes/filed-validation.php:79
71
- #: src/Settings/Option/ValidationOption.php:68
72
  msgid "Postcode"
73
  msgstr ""
74
 
@@ -348,12 +351,13 @@ msgstr ""
348
  msgid "You can to add custom validation in the functions.php file. %1$sRead more%2$s"
349
  msgstr ""
350
 
351
- #: src/Settings/Option/ValidationOption.php:54
352
- msgid "Validation"
 
353
  msgstr ""
354
 
355
- #: src/Settings/Option/ValidationOption.php:66
356
- msgid "E-mail"
357
  msgstr ""
358
 
359
  #: src/Settings/Page.php:66
2
  # This file is distributed under the same license as the Flexible Checkout Fields plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Flexible Checkout Fields 3.0.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-checkout-fields\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-03-31T14:22:02+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: flexible-checkout-fields\n"
49
  msgstr ""
50
 
51
  #: classes/filed-validation.php:73
52
+ #: src/Settings/Option/ValidationOption.php:26
53
+ #: src/Settings/Option/ValidationPostcodeOption.php:64
54
  msgid "Default"
55
  msgstr ""
56
 
57
  #: classes/filed-validation.php:74
58
+ #: src/Settings/Option/ValidationOption.php:27
59
+ #: src/Settings/Option/ValidationPostcodeOption.php:65
60
  msgid "None"
61
  msgstr ""
62
 
65
  msgstr ""
66
 
67
  #: classes/filed-validation.php:76
68
+ #: src/Settings/Option/ValidationOption.php:29
69
+ #: src/Settings/Option/ValidationPostcodeOption.php:67
70
  msgid "Phone"
71
  msgstr ""
72
 
73
  #: classes/filed-validation.php:79
74
+ #: src/Settings/Option/ValidationPostcodeOption.php:68
75
  msgid "Postcode"
76
  msgstr ""
77
 
351
  msgid "You can to add custom validation in the functions.php file. %1$sRead more%2$s"
352
  msgstr ""
353
 
354
+ #: src/Settings/Option/ValidationOption.php:28
355
+ #: src/Settings/Option/ValidationPostcodeOption.php:66
356
+ msgid "E-mail"
357
  msgstr ""
358
 
359
+ #: src/Settings/Option/ValidationPostcodeOption.php:54
360
+ msgid "Validation"
361
  msgstr ""
362
 
363
  #: src/Settings/Page.php:66
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
 
3
  Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk,sebastianpisula
4
  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.9
7
  Tested up to: 5.7
8
  Stable tag: trunk
@@ -187,6 +187,10 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
187
 
188
  == Changelog ==
189
 
 
 
 
 
190
  = 3.0.7 - 2021-03-18 =
191
  * Fixed support for fields generated by other plugins
192
  * Fixed Days before / Days after options for Date field type
2
 
3
  Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk,sebastianpisula
4
  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
6
  Requires at least: 4.9
7
  Tested up to: 5.7
8
  Stable tag: trunk
187
 
188
  == Changelog ==
189
 
190
+ = 3.0.8 - 2021-03-31 =
191
+ * Removed validation for Postcode for fields other than Postcode/ZIP
192
+ * Fixed formatting values of State/County fields
193
+
194
  = 3.0.7 - 2021-03-18 =
195
  * Fixed support for fields generated by other plugins
196
  * Fixed Days before / Days after options for Date field type
src/Field/Type/Wc/WcPostcodeType.php CHANGED
@@ -23,7 +23,7 @@ use WPDesk\FCF\Free\Settings\Option\NameOption;
23
  use WPDesk\FCF\Free\Settings\Option\PlaceholderOption;
24
  use WPDesk\FCF\Free\Settings\Option\PriorityOption;
25
  use WPDesk\FCF\Free\Settings\Option\RequiredHiddenOption;
26
- use WPDesk\FCF\Free\Settings\Option\ValidationOption;
27
  use WPDesk\FCF\Free\Settings\Option\ValidationInfoOption;
28
 
29
  /**
@@ -96,8 +96,8 @@ class WcPostcodeType extends TypeAbstract implements TypeInterface {
96
  NameOption::FIELD_NAME => new NameOption(),
97
  ],
98
  AdvancedTab::TAB_NAME => [
99
- ValidationOption::FIELD_NAME => new ValidationOption(),
100
- ValidationInfoOption::FIELD_NAME => new ValidationInfoOption(),
101
  ],
102
  AppearanceTab::TAB_NAME => [
103
  PlaceholderOption::FIELD_NAME => new PlaceholderOption(),
23
  use WPDesk\FCF\Free\Settings\Option\PlaceholderOption;
24
  use WPDesk\FCF\Free\Settings\Option\PriorityOption;
25
  use WPDesk\FCF\Free\Settings\Option\RequiredHiddenOption;
26
+ use WPDesk\FCF\Free\Settings\Option\ValidationPostcodeOption;
27
  use WPDesk\FCF\Free\Settings\Option\ValidationInfoOption;
28
 
29
  /**
96
  NameOption::FIELD_NAME => new NameOption(),
97
  ],
98
  AdvancedTab::TAB_NAME => [
99
+ ValidationPostcodeOption::FIELD_NAME => new ValidationPostcodeOption(),
100
+ ValidationInfoOption::FIELD_NAME => new ValidationInfoOption(),
101
  ],
102
  AppearanceTab::TAB_NAME => [
103
  PlaceholderOption::FIELD_NAME => new PlaceholderOption(),
src/Settings/Option/ValidationOption.php CHANGED
@@ -7,52 +7,14 @@
7
 
8
  namespace WPDesk\FCF\Free\Settings\Option;
9
 
10
- use WPDesk\FCF\Free\Settings\Option\OptionAbstract;
11
  use WPDesk\FCF\Free\Settings\Option\OptionInterface;
12
  use WPDesk\FCF\Free\Settings\Tab\AdvancedTab;
13
 
14
  /**
15
  * Supports option settings for field.
16
  */
17
- class ValidationOption extends OptionAbstract implements OptionInterface {
18
-
19
- const FIELD_NAME = 'validation';
20
-
21
- /**
22
- * Returns name of option.
23
- *
24
- * @return string Option name.
25
- */
26
- public function get_option_name(): string {
27
- return self::FIELD_NAME;
28
- }
29
-
30
- /**
31
- * Returns name of option tab.
32
- *
33
- * @return string Tab name.
34
- */
35
- public function get_option_tab(): string {
36
- return AdvancedTab::TAB_NAME;
37
- }
38
-
39
- /**
40
- * Returns type of option.
41
- *
42
- * @return string Option name.
43
- */
44
- public function get_option_type(): string {
45
- return self::FIELD_TYPE_RADIO;
46
- }
47
-
48
- /**
49
- * Returns label of option.
50
- *
51
- * @return string Option label.
52
- */
53
- public function get_option_label(): string {
54
- return __( 'Validation', 'flexible-checkout-fields' );
55
- }
56
 
57
  /**
58
  * Returns available values of option, if exists.
@@ -65,7 +27,6 @@ class ValidationOption extends OptionAbstract implements OptionInterface {
65
  'none' => __( 'None', 'flexible-checkout-fields' ),
66
  'email' => __( 'E-mail', 'flexible-checkout-fields' ),
67
  'phone' => __( 'Phone', 'flexible-checkout-fields' ),
68
- 'postcode' => __( 'Postcode', 'flexible-checkout-fields' ),
69
  ];
70
 
71
  $custom_rules = apply_filters( 'flexible_checkout_fields_custom_validation', [] );
@@ -74,13 +35,4 @@ class ValidationOption extends OptionAbstract implements OptionInterface {
74
  }
75
  return $rules;
76
  }
77
-
78
- /**
79
- * Returns default value of option.
80
- *
81
- * @return string|array Default value.
82
- */
83
- public function get_default_value() {
84
- return '';
85
- }
86
  }
7
 
8
  namespace WPDesk\FCF\Free\Settings\Option;
9
 
10
+ use WPDesk\FCF\Free\Settings\Option\ValidationPostcodeOption;
11
  use WPDesk\FCF\Free\Settings\Option\OptionInterface;
12
  use WPDesk\FCF\Free\Settings\Tab\AdvancedTab;
13
 
14
  /**
15
  * Supports option settings for field.
16
  */
17
+ class ValidationOption extends ValidationPostcodeOption implements OptionInterface {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  /**
20
  * Returns available values of option, if exists.
27
  'none' => __( 'None', 'flexible-checkout-fields' ),
28
  'email' => __( 'E-mail', 'flexible-checkout-fields' ),
29
  'phone' => __( 'Phone', 'flexible-checkout-fields' ),
 
30
  ];
31
 
32
  $custom_rules = apply_filters( 'flexible_checkout_fields_custom_validation', [] );
35
  }
36
  return $rules;
37
  }
 
 
 
 
 
 
 
 
 
38
  }
src/Settings/Option/ValidationPostcodeOption.php ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * .
4
+ *
5
+ * @package WPDesk\FPF\Free
6
+ */
7
+
8
+ namespace WPDesk\FCF\Free\Settings\Option;
9
+
10
+ use WPDesk\FCF\Free\Settings\Option\OptionAbstract;
11
+ use WPDesk\FCF\Free\Settings\Option\OptionInterface;
12
+ use WPDesk\FCF\Free\Settings\Tab\AdvancedTab;
13
+
14
+ /**
15
+ * Supports option settings for field.
16
+ */
17
+ class ValidationPostcodeOption extends OptionAbstract implements OptionInterface {
18
+
19
+ const FIELD_NAME = 'validation';
20
+
21
+ /**
22
+ * Returns name of option.
23
+ *
24
+ * @return string Option name.
25
+ */
26
+ public function get_option_name(): string {
27
+ return self::FIELD_NAME;
28
+ }
29
+
30
+ /**
31
+ * Returns name of option tab.
32
+ *
33
+ * @return string Tab name.
34
+ */
35
+ public function get_option_tab(): string {
36
+ return AdvancedTab::TAB_NAME;
37
+ }
38
+
39
+ /**
40
+ * Returns type of option.
41
+ *
42
+ * @return string Option name.
43
+ */
44
+ public function get_option_type(): string {
45
+ return self::FIELD_TYPE_RADIO;
46
+ }
47
+
48
+ /**
49
+ * Returns label of option.
50
+ *
51
+ * @return string Option label.
52
+ */
53
+ public function get_option_label(): string {
54
+ return __( 'Validation', 'flexible-checkout-fields' );
55
+ }
56
+
57
+ /**
58
+ * Returns available values of option, if exists.
59
+ *
60
+ * @return array List of option values.
61
+ */
62
+ public function get_values(): array {
63
+ $rules = [
64
+ '' => __( 'Default', 'flexible-checkout-fields' ),
65
+ 'none' => __( 'None', 'flexible-checkout-fields' ),
66
+ 'email' => __( 'E-mail', 'flexible-checkout-fields' ),
67
+ 'phone' => __( 'Phone', 'flexible-checkout-fields' ),
68
+ 'postcode' => __( 'Postcode', 'flexible-checkout-fields' ),
69
+ ];
70
+
71
+ $custom_rules = apply_filters( 'flexible_checkout_fields_custom_validation', [] );
72
+ foreach ( $custom_rules as $rule_key => $rule_data ) {
73
+ $rules[ $rule_key ] = $rule_data['label'];
74
+ }
75
+ return $rules;
76
+ }
77
+
78
+ /**
79
+ * Returns default value of option.
80
+ *
81
+ * @return string|array Default value.
82
+ */
83
+ public function get_default_value() {
84
+ return '';
85
+ }
86
+ }
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitc0665f9a663c223506c9bacba5aa301f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInita1c4381beea22a43b4828e5563955487::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -60,7 +60,7 @@ class ClassLoader
60
  public function getPrefixes()
61
  {
62
  if (!empty($this->prefixesPsr0)) {
63
- return call_user_func_array('array_merge', $this->prefixesPsr0);
64
  }
65
 
66
  return array();
@@ -279,7 +279,7 @@ class ClassLoader
279
  */
280
  public function setApcuPrefix($apcuPrefix)
281
  {
282
- $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
283
  }
284
 
285
  /**
@@ -377,7 +377,7 @@ class ClassLoader
377
  $subPath = $class;
378
  while (false !== $lastPos = strrpos($subPath, '\\')) {
379
  $subPath = substr($subPath, 0, $lastPos);
380
- $search = $subPath.'\\';
381
  if (isset($this->prefixDirsPsr4[$search])) {
382
  $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
383
  foreach ($this->prefixDirsPsr4[$search] as $dir) {
60
  public function getPrefixes()
61
  {
62
  if (!empty($this->prefixesPsr0)) {
63
+ return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
64
  }
65
 
66
  return array();
279
  */
280
  public function setApcuPrefix($apcuPrefix)
281
  {
282
+ $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
283
  }
284
 
285
  /**
377
  $subPath = $class;
378
  while (false !== $lastPos = strrpos($subPath, '\\')) {
379
  $subPath = substr($subPath, 0, $lastPos);
380
+ $search = $subPath . '\\';
381
  if (isset($this->prefixDirsPsr4[$search])) {
382
  $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
383
  foreach ($this->prefixDirsPsr4[$search] as $dir) {
vendor/composer/autoload_classmap.php CHANGED
@@ -355,6 +355,7 @@ return array(
355
  'WPDesk\\FCF\\Free\\Settings\\Option\\SettingSectionsAdvOption' => $baseDir . '/src/Settings/Option/SettingSectionsAdvOption.php',
356
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationInfoOption' => $baseDir . '/src/Settings/Option/ValidationInfoOption.php',
357
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationOption' => $baseDir . '/src/Settings/Option/ValidationOption.php',
 
358
  'WPDesk\\FCF\\Free\\Settings\\Page' => $baseDir . '/src/Settings/Page.php',
359
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteAbstract' => $baseDir . '/src/Settings/Route/RouteAbstract.php',
360
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteIntegration' => $baseDir . '/src/Settings/Route/RouteIntegration.php',
355
  'WPDesk\\FCF\\Free\\Settings\\Option\\SettingSectionsAdvOption' => $baseDir . '/src/Settings/Option/SettingSectionsAdvOption.php',
356
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationInfoOption' => $baseDir . '/src/Settings/Option/ValidationInfoOption.php',
357
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationOption' => $baseDir . '/src/Settings/Option/ValidationOption.php',
358
+ 'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationPostcodeOption' => $baseDir . '/src/Settings/Option/ValidationPostcodeOption.php',
359
  'WPDesk\\FCF\\Free\\Settings\\Page' => $baseDir . '/src/Settings/Page.php',
360
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteAbstract' => $baseDir . '/src/Settings/Route/RouteAbstract.php',
361
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteIntegration' => $baseDir . '/src/Settings/Route/RouteIntegration.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitc0665f9a663c223506c9bacba5aa301f
6
  {
7
  private static $loader;
8
 
@@ -13,21 +13,24 @@ class ComposerAutoloaderInitc0665f9a663c223506c9bacba5aa301f
13
  }
14
  }
15
 
 
 
 
16
  public static function getLoader()
17
  {
18
  if (null !== self::$loader) {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitc0665f9a663c223506c9bacba5aa301f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitc0665f9a663c223506c9bacba5aa301f', '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\ComposerStaticInitc0665f9a663c223506c9bacba5aa301f::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 ComposerAutoloaderInita1c4381beea22a43b4828e5563955487
6
  {
7
  private static $loader;
8
 
13
  }
14
  }
15
 
16
+ /**
17
+ * @return \Composer\Autoload\ClassLoader
18
+ */
19
  public static function getLoader()
20
  {
21
  if (null !== self::$loader) {
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInita1c4381beea22a43b4828e5563955487', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInita1c4381beea22a43b4828e5563955487', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInita1c4381beea22a43b4828e5563955487::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitc0665f9a663c223506c9bacba5aa301f
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
@@ -378,6 +378,7 @@ class ComposerStaticInitc0665f9a663c223506c9bacba5aa301f
378
  'WPDesk\\FCF\\Free\\Settings\\Option\\SettingSectionsAdvOption' => __DIR__ . '/../..' . '/src/Settings/Option/SettingSectionsAdvOption.php',
379
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationInfoOption' => __DIR__ . '/../..' . '/src/Settings/Option/ValidationInfoOption.php',
380
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationOption' => __DIR__ . '/../..' . '/src/Settings/Option/ValidationOption.php',
 
381
  'WPDesk\\FCF\\Free\\Settings\\Page' => __DIR__ . '/../..' . '/src/Settings/Page.php',
382
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteAbstract' => __DIR__ . '/../..' . '/src/Settings/Route/RouteAbstract.php',
383
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteIntegration' => __DIR__ . '/../..' . '/src/Settings/Route/RouteIntegration.php',
@@ -406,9 +407,9 @@ class ComposerStaticInitc0665f9a663c223506c9bacba5aa301f
406
  public static function getInitializer(ClassLoader $loader)
407
  {
408
  return \Closure::bind(function () use ($loader) {
409
- $loader->prefixLengthsPsr4 = ComposerStaticInitc0665f9a663c223506c9bacba5aa301f::$prefixLengthsPsr4;
410
- $loader->prefixDirsPsr4 = ComposerStaticInitc0665f9a663c223506c9bacba5aa301f::$prefixDirsPsr4;
411
- $loader->classMap = ComposerStaticInitc0665f9a663c223506c9bacba5aa301f::$classMap;
412
 
413
  }, null, ClassLoader::class);
414
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInita1c4381beea22a43b4828e5563955487
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
378
  'WPDesk\\FCF\\Free\\Settings\\Option\\SettingSectionsAdvOption' => __DIR__ . '/../..' . '/src/Settings/Option/SettingSectionsAdvOption.php',
379
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationInfoOption' => __DIR__ . '/../..' . '/src/Settings/Option/ValidationInfoOption.php',
380
  'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationOption' => __DIR__ . '/../..' . '/src/Settings/Option/ValidationOption.php',
381
+ 'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationPostcodeOption' => __DIR__ . '/../..' . '/src/Settings/Option/ValidationPostcodeOption.php',
382
  'WPDesk\\FCF\\Free\\Settings\\Page' => __DIR__ . '/../..' . '/src/Settings/Page.php',
383
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteAbstract' => __DIR__ . '/../..' . '/src/Settings/Route/RouteAbstract.php',
384
  'WPDesk\\FCF\\Free\\Settings\\Route\\RouteIntegration' => __DIR__ . '/../..' . '/src/Settings/Route/RouteIntegration.php',
407
  public static function getInitializer(ClassLoader $loader)
408
  {
409
  return \Closure::bind(function () use ($loader) {
410
+ $loader->prefixLengthsPsr4 = ComposerStaticInita1c4381beea22a43b4828e5563955487::$prefixLengthsPsr4;
411
+ $loader->prefixDirsPsr4 = ComposerStaticInita1c4381beea22a43b4828e5563955487::$prefixDirsPsr4;
412
+ $loader->classMap = ComposerStaticInita1c4381beea22a43b4828e5563955487::$classMap;
413
 
414
  }, null, ClassLoader::class);
415
  }