Version Description
- 2020-05-04 =
- Fixed additional fields not saved in user profile
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 2.4.10 |
Comparing to | |
See all releases |
Code changes from version 2.4.9 to 2.4.10
- classes/class-flexible-checkout-fields-plugin.php +6 -1
- classes/user-meta-checkout.php +54 -0
- classes/user-meta.php +71 -0
- classes/user-profile.php +14 -25
- composer.lock +54 -54
- flexible-checkout-fields.php +6 -6
- lang/flexible-checkout-fields.pot +30 -30
- readme.txt +8 -11
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +2 -0
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +6 -4
classes/class-flexible-checkout-fields-plugin.php
CHANGED
@@ -156,9 +156,14 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
156 |
|
157 |
new Flexible_Checkout_Fields_Disaplay_Options( $this );
|
158 |
|
159 |
-
$
|
|
|
|
|
160 |
$user_profile->hooks();
|
161 |
|
|
|
|
|
|
|
162 |
$this->field_validation = new Flexible_Checkout_Fields_Field_Validation( $this );
|
163 |
$this->field_validation->hooks();
|
164 |
|
156 |
|
157 |
new Flexible_Checkout_Fields_Disaplay_Options( $this );
|
158 |
|
159 |
+
$user_meta = new Flexible_Checkout_Fields_User_Meta( $this );
|
160 |
+
|
161 |
+
$user_profile = new Flexible_Checkout_Fields_User_Profile( $this, $user_meta );
|
162 |
$user_profile->hooks();
|
163 |
|
164 |
+
$user_meta = new Flexible_Checkout_Fields_User_Meta_Checkout( $this, $user_meta );
|
165 |
+
$user_meta->hooks();
|
166 |
+
|
167 |
$this->field_validation = new Flexible_Checkout_Fields_Field_Validation( $this );
|
168 |
$this->field_validation->hooks();
|
169 |
|
classes/user-meta-checkout.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* User meta hooks.
|
4 |
+
*
|
5 |
+
* @package Flexible Checkout Fields
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Handles user meta on checkout.
|
10 |
+
*/
|
11 |
+
class Flexible_Checkout_Fields_User_Meta_Checkout {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Plugin.
|
15 |
+
*
|
16 |
+
* @var Flexible_Checkout_Fields_Plugin
|
17 |
+
*/
|
18 |
+
protected $plugin;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* .
|
22 |
+
*
|
23 |
+
* @var Flexible_Checkout_Fields_User_Meta
|
24 |
+
*/
|
25 |
+
private $user_meta;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Flexible_Checkout_Fields_User_Profile constructor.
|
29 |
+
*
|
30 |
+
* @param Flexible_Checkout_Fields_Plugin $plugin Plugin.
|
31 |
+
* @param Flexible_Checkout_Fields_User_Meta $user_meta .
|
32 |
+
*/
|
33 |
+
public function __construct( Flexible_Checkout_Fields_Plugin $plugin, Flexible_Checkout_Fields_User_Meta $user_meta ) {
|
34 |
+
$this->plugin = $plugin;
|
35 |
+
$this->user_meta = $user_meta;
|
36 |
+
}
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Hooks.
|
40 |
+
*/
|
41 |
+
public function hooks() {
|
42 |
+
add_filter( 'woocommerce_checkout_update_user_meta', array( $this, 'update_customer_meta_fields_on_checkout' ), 10, 2 );
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Update customer meta data on checkout.
|
47 |
+
*
|
48 |
+
* @param int $customer_id Customer ID.
|
49 |
+
* @param array $data Posted checkout data.
|
50 |
+
*/
|
51 |
+
public function update_customer_meta_fields_on_checkout( $customer_id, $data ) {
|
52 |
+
$this->user_meta->update_customer_meta_fields( $customer_id, $data );
|
53 |
+
}
|
54 |
+
}
|
classes/user-meta.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* User meta.
|
4 |
+
*
|
5 |
+
* @package Flexible Checkout Fields
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Can update user meta.
|
10 |
+
*/
|
11 |
+
class Flexible_Checkout_Fields_User_Meta {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Plugin.
|
15 |
+
*
|
16 |
+
* @var Flexible_Checkout_Fields_Plugin
|
17 |
+
*/
|
18 |
+
protected $plugin;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* @param Flexible_Checkout_Fields_Plugin $plugin Plugin.
|
22 |
+
*/
|
23 |
+
public function __construct( $plugin ) {
|
24 |
+
$this->plugin = $plugin;
|
25 |
+
}
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Is flexible checkout fields section?
|
29 |
+
*
|
30 |
+
* @param string $settings_section .
|
31 |
+
*
|
32 |
+
* @return bool
|
33 |
+
*/
|
34 |
+
public function is_fcf_section( $settings_section ) {
|
35 |
+
$sections = $this->plugin->sections;
|
36 |
+
foreach ( $sections as $section ) {
|
37 |
+
if ( isset( $section['section'] ) && $section['section'] === $settings_section ) {
|
38 |
+
return true;
|
39 |
+
}
|
40 |
+
}
|
41 |
+
return false;
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Update customer meta data.
|
46 |
+
*
|
47 |
+
* @param int $customer_id Customer ID.
|
48 |
+
* @param array $data Posted checkout data.
|
49 |
+
*/
|
50 |
+
public function update_customer_meta_fields( $customer_id, $data ) {
|
51 |
+
$settings = $this->plugin->get_settings();
|
52 |
+
if ( ! empty( $settings ) ) {
|
53 |
+
foreach ( $settings as $key => $type ) {
|
54 |
+
if ( ! $this->is_fcf_section( $key ) ) {
|
55 |
+
continue;
|
56 |
+
}
|
57 |
+
foreach ( $type as $field ) {
|
58 |
+
$field_name = $field['name'];
|
59 |
+
$fcf_field = new Flexible_Checkout_Fields_Field( $field, $this->plugin );
|
60 |
+
if ( ! $fcf_field->is_field_excluded_for_user() ) {
|
61 |
+
$value = '';
|
62 |
+
if ( isset( $data[ $field_name ] ) ) {
|
63 |
+
$value = sanitize_text_field( wp_unslash( $data[ $field_name ] ) );
|
64 |
+
}
|
65 |
+
update_user_meta( $customer_id, $field_name, $value );
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}
|
69 |
+
}
|
70 |
+
}
|
71 |
+
}
|
classes/user-profile.php
CHANGED
@@ -27,13 +27,22 @@ class Flexible_Checkout_Fields_User_Profile {
|
|
27 |
*/
|
28 |
protected $plugin;
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
/**
|
31 |
* Flexible_Checkout_Fields_User_Profile constructor.
|
32 |
*
|
33 |
-
* @param Flexible_Checkout_Fields_Plugin
|
|
|
34 |
*/
|
35 |
-
public function __construct( $plugin ) {
|
36 |
-
$this->plugin
|
|
|
37 |
}
|
38 |
|
39 |
/**
|
@@ -150,7 +159,7 @@ class Flexible_Checkout_Fields_User_Profile {
|
|
150 |
if ( in_array( $key, array( 'shipping', 'billing' ) ) ) {
|
151 |
continue;
|
152 |
}
|
153 |
-
if (
|
154 |
continue;
|
155 |
}
|
156 |
if ( is_array( $type ) ) {
|
@@ -213,27 +222,7 @@ class Flexible_Checkout_Fields_User_Profile {
|
|
213 |
return;
|
214 |
}
|
215 |
if ( wp_verify_nonce( $_POST['_wpnonce'], 'update-user_' . $user_id ) ) { // phpcs:ignore
|
216 |
-
$
|
217 |
-
$sections = $this->plugin->sections;
|
218 |
-
$field_types = $this->plugin->get_fields();
|
219 |
-
if ( ! empty( $settings ) ) {
|
220 |
-
foreach ( $settings as $key => $type ) {
|
221 |
-
if ( empty( $sections[ 'woocommerce_checkout_' . $key ] ) ) {
|
222 |
-
continue;
|
223 |
-
}
|
224 |
-
foreach ( $type as $field ) {
|
225 |
-
$field_name = $field['name'];
|
226 |
-
$fcf_field = new Flexible_Checkout_Fields_Field( $field, $this->plugin );
|
227 |
-
if ( ! $fcf_field->is_field_excluded_for_user() ) {
|
228 |
-
$value = '';
|
229 |
-
if ( isset( $_POST[ $field_name ] ) ) {
|
230 |
-
$value = sanitize_text_field( wp_unslash( $_POST[ $field_name ] ) );
|
231 |
-
}
|
232 |
-
update_user_meta( $user_id, $field_name, $value );
|
233 |
-
}
|
234 |
-
}
|
235 |
-
}
|
236 |
-
}
|
237 |
}
|
238 |
}
|
239 |
}
|
27 |
*/
|
28 |
protected $plugin;
|
29 |
|
30 |
+
/**
|
31 |
+
* .
|
32 |
+
*
|
33 |
+
* @var Flexible_Checkout_Fields_User_Meta
|
34 |
+
*/
|
35 |
+
private $user_meta;
|
36 |
+
|
37 |
/**
|
38 |
* Flexible_Checkout_Fields_User_Profile constructor.
|
39 |
*
|
40 |
+
* @param Flexible_Checkout_Fields_Plugin $plugin Plugin.
|
41 |
+
* @param Flexible_Checkout_Fields_User_Meta $user_meta .
|
42 |
*/
|
43 |
+
public function __construct( Flexible_Checkout_Fields_Plugin $plugin, Flexible_Checkout_Fields_User_Meta $user_meta ) {
|
44 |
+
$this->plugin = $plugin;
|
45 |
+
$this->user_meta = $user_meta;
|
46 |
}
|
47 |
|
48 |
/**
|
159 |
if ( in_array( $key, array( 'shipping', 'billing' ) ) ) {
|
160 |
continue;
|
161 |
}
|
162 |
+
if ( ! $this->user_meta->is_fcf_section( $key ) ) {
|
163 |
continue;
|
164 |
}
|
165 |
if ( is_array( $type ) ) {
|
222 |
return;
|
223 |
}
|
224 |
if ( wp_verify_nonce( $_POST['_wpnonce'], 'update-user_' . $user_id ) ) { // phpcs:ignore
|
225 |
+
$this->user_meta->update_customer_meta_fields( $user_id, $_POST );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
227 |
}
|
228 |
}
|
composer.lock
CHANGED
@@ -722,16 +722,16 @@
|
|
722 |
},
|
723 |
{
|
724 |
"name": "codeception/module-webdriver",
|
725 |
-
"version": "1.0.
|
726 |
"source": {
|
727 |
"type": "git",
|
728 |
"url": "https://github.com/Codeception/module-webdriver.git",
|
729 |
-
"reference": "
|
730 |
},
|
731 |
"dist": {
|
732 |
"type": "zip",
|
733 |
-
"url": "https://api.github.com/repos/Codeception/module-webdriver/zipball/
|
734 |
-
"reference": "
|
735 |
"shasum": ""
|
736 |
},
|
737 |
"require": {
|
@@ -773,7 +773,7 @@
|
|
773 |
"browser-testing",
|
774 |
"codeception"
|
775 |
],
|
776 |
-
"time": "2020-04-
|
777 |
},
|
778 |
{
|
779 |
"name": "codeception/phpunit-wrapper",
|
@@ -2122,16 +2122,16 @@
|
|
2122 |
},
|
2123 |
{
|
2124 |
"name": "lucatume/wp-browser",
|
2125 |
-
"version": "2.4.
|
2126 |
"source": {
|
2127 |
"type": "git",
|
2128 |
"url": "https://github.com/lucatume/wp-browser.git",
|
2129 |
-
"reference": "
|
2130 |
},
|
2131 |
"dist": {
|
2132 |
"type": "zip",
|
2133 |
-
"url": "https://api.github.com/repos/lucatume/wp-browser/zipball/
|
2134 |
-
"reference": "
|
2135 |
"shasum": ""
|
2136 |
},
|
2137 |
"require": {
|
@@ -2199,7 +2199,7 @@
|
|
2199 |
"codeception",
|
2200 |
"wordpress"
|
2201 |
],
|
2202 |
-
"time": "2020-
|
2203 |
},
|
2204 |
{
|
2205 |
"name": "matthiasmullie/minify",
|
@@ -4174,20 +4174,20 @@
|
|
4174 |
},
|
4175 |
{
|
4176 |
"name": "seld/jsonlint",
|
4177 |
-
"version": "1.
|
4178 |
"source": {
|
4179 |
"type": "git",
|
4180 |
"url": "https://github.com/Seldaek/jsonlint.git",
|
4181 |
-
"reference": "
|
4182 |
},
|
4183 |
"dist": {
|
4184 |
"type": "zip",
|
4185 |
-
"url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/
|
4186 |
-
"reference": "
|
4187 |
"shasum": ""
|
4188 |
},
|
4189 |
"require": {
|
4190 |
-
"php": "^5.3 || ^7.0"
|
4191 |
},
|
4192 |
"require-dev": {
|
4193 |
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
|
@@ -4219,7 +4219,7 @@
|
|
4219 |
"parser",
|
4220 |
"validator"
|
4221 |
],
|
4222 |
-
"time": "
|
4223 |
},
|
4224 |
{
|
4225 |
"name": "seld/phar-utils",
|
@@ -4318,7 +4318,7 @@
|
|
4318 |
},
|
4319 |
{
|
4320 |
"name": "symfony/browser-kit",
|
4321 |
-
"version": "v3.4.
|
4322 |
"source": {
|
4323 |
"type": "git",
|
4324 |
"url": "https://github.com/symfony/browser-kit.git",
|
@@ -4375,7 +4375,7 @@
|
|
4375 |
},
|
4376 |
{
|
4377 |
"name": "symfony/console",
|
4378 |
-
"version": "v3.4.
|
4379 |
"source": {
|
4380 |
"type": "git",
|
4381 |
"url": "https://github.com/symfony/console.git",
|
@@ -4447,7 +4447,7 @@
|
|
4447 |
},
|
4448 |
{
|
4449 |
"name": "symfony/css-selector",
|
4450 |
-
"version": "v3.4.
|
4451 |
"source": {
|
4452 |
"type": "git",
|
4453 |
"url": "https://github.com/symfony/css-selector.git",
|
@@ -4500,7 +4500,7 @@
|
|
4500 |
},
|
4501 |
{
|
4502 |
"name": "symfony/debug",
|
4503 |
-
"version": "v3.4.
|
4504 |
"source": {
|
4505 |
"type": "git",
|
4506 |
"url": "https://github.com/symfony/debug.git",
|
@@ -4556,7 +4556,7 @@
|
|
4556 |
},
|
4557 |
{
|
4558 |
"name": "symfony/dom-crawler",
|
4559 |
-
"version": "v3.4.
|
4560 |
"source": {
|
4561 |
"type": "git",
|
4562 |
"url": "https://github.com/symfony/dom-crawler.git",
|
@@ -4613,7 +4613,7 @@
|
|
4613 |
},
|
4614 |
{
|
4615 |
"name": "symfony/event-dispatcher",
|
4616 |
-
"version": "v3.4.
|
4617 |
"source": {
|
4618 |
"type": "git",
|
4619 |
"url": "https://github.com/symfony/event-dispatcher.git",
|
@@ -4676,16 +4676,16 @@
|
|
4676 |
},
|
4677 |
{
|
4678 |
"name": "symfony/filesystem",
|
4679 |
-
"version": "v3.4.
|
4680 |
"source": {
|
4681 |
"type": "git",
|
4682 |
"url": "https://github.com/symfony/filesystem.git",
|
4683 |
-
"reference": "
|
4684 |
},
|
4685 |
"dist": {
|
4686 |
"type": "zip",
|
4687 |
-
"url": "https://api.github.com/repos/symfony/filesystem/zipball/
|
4688 |
-
"reference": "
|
4689 |
"shasum": ""
|
4690 |
},
|
4691 |
"require": {
|
@@ -4722,11 +4722,11 @@
|
|
4722 |
],
|
4723 |
"description": "Symfony Filesystem Component",
|
4724 |
"homepage": "https://symfony.com",
|
4725 |
-
"time": "2020-
|
4726 |
},
|
4727 |
{
|
4728 |
"name": "symfony/finder",
|
4729 |
-
"version": "v3.4.
|
4730 |
"source": {
|
4731 |
"type": "git",
|
4732 |
"url": "https://github.com/symfony/finder.git",
|
@@ -5009,16 +5009,16 @@
|
|
5009 |
},
|
5010 |
{
|
5011 |
"name": "symfony/process",
|
5012 |
-
"version": "v3.4.
|
5013 |
"source": {
|
5014 |
"type": "git",
|
5015 |
"url": "https://github.com/symfony/process.git",
|
5016 |
-
"reference": "
|
5017 |
},
|
5018 |
"dist": {
|
5019 |
"type": "zip",
|
5020 |
-
"url": "https://api.github.com/repos/symfony/process/zipball/
|
5021 |
-
"reference": "
|
5022 |
"shasum": ""
|
5023 |
},
|
5024 |
"require": {
|
@@ -5054,20 +5054,20 @@
|
|
5054 |
],
|
5055 |
"description": "Symfony Process Component",
|
5056 |
"homepage": "https://symfony.com",
|
5057 |
-
"time": "2020-
|
5058 |
},
|
5059 |
{
|
5060 |
"name": "symfony/yaml",
|
5061 |
-
"version": "v3.4.
|
5062 |
"source": {
|
5063 |
"type": "git",
|
5064 |
"url": "https://github.com/symfony/yaml.git",
|
5065 |
-
"reference": "
|
5066 |
},
|
5067 |
"dist": {
|
5068 |
"type": "zip",
|
5069 |
-
"url": "https://api.github.com/repos/symfony/yaml/zipball/
|
5070 |
-
"reference": "
|
5071 |
"shasum": ""
|
5072 |
},
|
5073 |
"require": {
|
@@ -5113,24 +5113,24 @@
|
|
5113 |
],
|
5114 |
"description": "Symfony Yaml Component",
|
5115 |
"homepage": "https://symfony.com",
|
5116 |
-
"time": "2020-
|
5117 |
},
|
5118 |
{
|
5119 |
"name": "vlucas/phpdotenv",
|
5120 |
-
"version": "v3.6.
|
5121 |
"source": {
|
5122 |
"type": "git",
|
5123 |
"url": "https://github.com/vlucas/phpdotenv.git",
|
5124 |
-
"reference": "
|
5125 |
},
|
5126 |
"dist": {
|
5127 |
"type": "zip",
|
5128 |
-
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/
|
5129 |
-
"reference": "
|
5130 |
"shasum": ""
|
5131 |
},
|
5132 |
"require": {
|
5133 |
-
"php": "^5.4 || ^7.0",
|
5134 |
"phpoption/phpoption": "^1.5",
|
5135 |
"symfony/polyfill-ctype": "^1.9"
|
5136 |
},
|
@@ -5176,7 +5176,7 @@
|
|
5176 |
"env",
|
5177 |
"environment"
|
5178 |
],
|
5179 |
-
"time": "2020-
|
5180 |
},
|
5181 |
{
|
5182 |
"name": "vria/nodiacritic",
|
@@ -7421,16 +7421,16 @@
|
|
7421 |
},
|
7422 |
{
|
7423 |
"name": "wpdesk/wp-codeception",
|
7424 |
-
"version": "1.5.24
|
7425 |
"source": {
|
7426 |
"type": "git",
|
7427 |
"url": "https://gitlab.com/wpdesk/wp-codeception.git",
|
7428 |
-
"reference": "
|
7429 |
},
|
7430 |
"dist": {
|
7431 |
"type": "zip",
|
7432 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-codeception/repository/archive.zip?sha=
|
7433 |
-
"reference": "
|
7434 |
"shasum": ""
|
7435 |
},
|
7436 |
"require": {
|
@@ -7484,7 +7484,7 @@
|
|
7484 |
"codeception",
|
7485 |
"wordpress"
|
7486 |
],
|
7487 |
-
"time": "2020-04-
|
7488 |
},
|
7489 |
{
|
7490 |
"name": "wpdesk/wp-logs",
|
@@ -7637,16 +7637,16 @@
|
|
7637 |
},
|
7638 |
{
|
7639 |
"name": "wpdesk/wp-wpdesk-composer",
|
7640 |
-
"version": "2.
|
7641 |
"source": {
|
7642 |
"type": "git",
|
7643 |
"url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
|
7644 |
-
"reference": "
|
7645 |
},
|
7646 |
"dist": {
|
7647 |
"type": "zip",
|
7648 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=
|
7649 |
-
"reference": "
|
7650 |
"shasum": ""
|
7651 |
},
|
7652 |
"require": {
|
@@ -7676,7 +7676,7 @@
|
|
7676 |
"email": "krzysiek@wpdesk.pl"
|
7677 |
}
|
7678 |
],
|
7679 |
-
"time": "2020-
|
7680 |
},
|
7681 |
{
|
7682 |
"name": "wpdesk/wp-wpdesk-helper",
|
722 |
},
|
723 |
{
|
724 |
"name": "codeception/module-webdriver",
|
725 |
+
"version": "1.0.8",
|
726 |
"source": {
|
727 |
"type": "git",
|
728 |
"url": "https://github.com/Codeception/module-webdriver.git",
|
729 |
+
"reference": "da55466876d9e73c09917f495b923395b1cdf92a"
|
730 |
},
|
731 |
"dist": {
|
732 |
"type": "zip",
|
733 |
+
"url": "https://api.github.com/repos/Codeception/module-webdriver/zipball/da55466876d9e73c09917f495b923395b1cdf92a",
|
734 |
+
"reference": "da55466876d9e73c09917f495b923395b1cdf92a",
|
735 |
"shasum": ""
|
736 |
},
|
737 |
"require": {
|
773 |
"browser-testing",
|
774 |
"codeception"
|
775 |
],
|
776 |
+
"time": "2020-04-29T13:45:52+00:00"
|
777 |
},
|
778 |
{
|
779 |
"name": "codeception/phpunit-wrapper",
|
2122 |
},
|
2123 |
{
|
2124 |
"name": "lucatume/wp-browser",
|
2125 |
+
"version": "2.4.8",
|
2126 |
"source": {
|
2127 |
"type": "git",
|
2128 |
"url": "https://github.com/lucatume/wp-browser.git",
|
2129 |
+
"reference": "b484620bca5bde60920affad9b2e74435be65e54"
|
2130 |
},
|
2131 |
"dist": {
|
2132 |
"type": "zip",
|
2133 |
+
"url": "https://api.github.com/repos/lucatume/wp-browser/zipball/b484620bca5bde60920affad9b2e74435be65e54",
|
2134 |
+
"reference": "b484620bca5bde60920affad9b2e74435be65e54",
|
2135 |
"shasum": ""
|
2136 |
},
|
2137 |
"require": {
|
2199 |
"codeception",
|
2200 |
"wordpress"
|
2201 |
],
|
2202 |
+
"time": "2020-05-01T11:37:05+00:00"
|
2203 |
},
|
2204 |
{
|
2205 |
"name": "matthiasmullie/minify",
|
4174 |
},
|
4175 |
{
|
4176 |
"name": "seld/jsonlint",
|
4177 |
+
"version": "1.8.0",
|
4178 |
"source": {
|
4179 |
"type": "git",
|
4180 |
"url": "https://github.com/Seldaek/jsonlint.git",
|
4181 |
+
"reference": "ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1"
|
4182 |
},
|
4183 |
"dist": {
|
4184 |
"type": "zip",
|
4185 |
+
"url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1",
|
4186 |
+
"reference": "ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1",
|
4187 |
"shasum": ""
|
4188 |
},
|
4189 |
"require": {
|
4190 |
+
"php": "^5.3 || ^7.0 || ^8.0"
|
4191 |
},
|
4192 |
"require-dev": {
|
4193 |
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
|
4219 |
"parser",
|
4220 |
"validator"
|
4221 |
],
|
4222 |
+
"time": "2020-04-30T19:05:18+00:00"
|
4223 |
},
|
4224 |
{
|
4225 |
"name": "seld/phar-utils",
|
4318 |
},
|
4319 |
{
|
4320 |
"name": "symfony/browser-kit",
|
4321 |
+
"version": "v3.4.40",
|
4322 |
"source": {
|
4323 |
"type": "git",
|
4324 |
"url": "https://github.com/symfony/browser-kit.git",
|
4375 |
},
|
4376 |
{
|
4377 |
"name": "symfony/console",
|
4378 |
+
"version": "v3.4.40",
|
4379 |
"source": {
|
4380 |
"type": "git",
|
4381 |
"url": "https://github.com/symfony/console.git",
|
4447 |
},
|
4448 |
{
|
4449 |
"name": "symfony/css-selector",
|
4450 |
+
"version": "v3.4.40",
|
4451 |
"source": {
|
4452 |
"type": "git",
|
4453 |
"url": "https://github.com/symfony/css-selector.git",
|
4500 |
},
|
4501 |
{
|
4502 |
"name": "symfony/debug",
|
4503 |
+
"version": "v3.4.40",
|
4504 |
"source": {
|
4505 |
"type": "git",
|
4506 |
"url": "https://github.com/symfony/debug.git",
|
4556 |
},
|
4557 |
{
|
4558 |
"name": "symfony/dom-crawler",
|
4559 |
+
"version": "v3.4.40",
|
4560 |
"source": {
|
4561 |
"type": "git",
|
4562 |
"url": "https://github.com/symfony/dom-crawler.git",
|
4613 |
},
|
4614 |
{
|
4615 |
"name": "symfony/event-dispatcher",
|
4616 |
+
"version": "v3.4.40",
|
4617 |
"source": {
|
4618 |
"type": "git",
|
4619 |
"url": "https://github.com/symfony/event-dispatcher.git",
|
4676 |
},
|
4677 |
{
|
4678 |
"name": "symfony/filesystem",
|
4679 |
+
"version": "v3.4.40",
|
4680 |
"source": {
|
4681 |
"type": "git",
|
4682 |
"url": "https://github.com/symfony/filesystem.git",
|
4683 |
+
"reference": "78a93e5606a19d0fb490afc3c4a9b7ecd86e1515"
|
4684 |
},
|
4685 |
"dist": {
|
4686 |
"type": "zip",
|
4687 |
+
"url": "https://api.github.com/repos/symfony/filesystem/zipball/78a93e5606a19d0fb490afc3c4a9b7ecd86e1515",
|
4688 |
+
"reference": "78a93e5606a19d0fb490afc3c4a9b7ecd86e1515",
|
4689 |
"shasum": ""
|
4690 |
},
|
4691 |
"require": {
|
4722 |
],
|
4723 |
"description": "Symfony Filesystem Component",
|
4724 |
"homepage": "https://symfony.com",
|
4725 |
+
"time": "2020-04-12T16:54:01+00:00"
|
4726 |
},
|
4727 |
{
|
4728 |
"name": "symfony/finder",
|
4729 |
+
"version": "v3.4.40",
|
4730 |
"source": {
|
4731 |
"type": "git",
|
4732 |
"url": "https://github.com/symfony/finder.git",
|
5009 |
},
|
5010 |
{
|
5011 |
"name": "symfony/process",
|
5012 |
+
"version": "v3.4.40",
|
5013 |
"source": {
|
5014 |
"type": "git",
|
5015 |
"url": "https://github.com/symfony/process.git",
|
5016 |
+
"reference": "f5104c9dcbc2cfad45d01d5150c1da9836967271"
|
5017 |
},
|
5018 |
"dist": {
|
5019 |
"type": "zip",
|
5020 |
+
"url": "https://api.github.com/repos/symfony/process/zipball/f5104c9dcbc2cfad45d01d5150c1da9836967271",
|
5021 |
+
"reference": "f5104c9dcbc2cfad45d01d5150c1da9836967271",
|
5022 |
"shasum": ""
|
5023 |
},
|
5024 |
"require": {
|
5054 |
],
|
5055 |
"description": "Symfony Process Component",
|
5056 |
"homepage": "https://symfony.com",
|
5057 |
+
"time": "2020-04-12T14:33:46+00:00"
|
5058 |
},
|
5059 |
{
|
5060 |
"name": "symfony/yaml",
|
5061 |
+
"version": "v3.4.40",
|
5062 |
"source": {
|
5063 |
"type": "git",
|
5064 |
"url": "https://github.com/symfony/yaml.git",
|
5065 |
+
"reference": "8fef49ac1357f4e05c997a1f139467ccb186bffa"
|
5066 |
},
|
5067 |
"dist": {
|
5068 |
"type": "zip",
|
5069 |
+
"url": "https://api.github.com/repos/symfony/yaml/zipball/8fef49ac1357f4e05c997a1f139467ccb186bffa",
|
5070 |
+
"reference": "8fef49ac1357f4e05c997a1f139467ccb186bffa",
|
5071 |
"shasum": ""
|
5072 |
},
|
5073 |
"require": {
|
5113 |
],
|
5114 |
"description": "Symfony Yaml Component",
|
5115 |
"homepage": "https://symfony.com",
|
5116 |
+
"time": "2020-04-24T10:16:04+00:00"
|
5117 |
},
|
5118 |
{
|
5119 |
"name": "vlucas/phpdotenv",
|
5120 |
+
"version": "v3.6.4",
|
5121 |
"source": {
|
5122 |
"type": "git",
|
5123 |
"url": "https://github.com/vlucas/phpdotenv.git",
|
5124 |
+
"reference": "10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5"
|
5125 |
},
|
5126 |
"dist": {
|
5127 |
"type": "zip",
|
5128 |
+
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5",
|
5129 |
+
"reference": "10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5",
|
5130 |
"shasum": ""
|
5131 |
},
|
5132 |
"require": {
|
5133 |
+
"php": "^5.4 || ^7.0 || ^8.0",
|
5134 |
"phpoption/phpoption": "^1.5",
|
5135 |
"symfony/polyfill-ctype": "^1.9"
|
5136 |
},
|
5176 |
"env",
|
5177 |
"environment"
|
5178 |
],
|
5179 |
+
"time": "2020-05-02T13:46:13+00:00"
|
5180 |
},
|
5181 |
{
|
5182 |
"name": "vria/nodiacritic",
|
7421 |
},
|
7422 |
{
|
7423 |
"name": "wpdesk/wp-codeception",
|
7424 |
+
"version": "1.5.24",
|
7425 |
"source": {
|
7426 |
"type": "git",
|
7427 |
"url": "https://gitlab.com/wpdesk/wp-codeception.git",
|
7428 |
+
"reference": "04a40465fab6e07cf2ece61e86f547c7598c044e"
|
7429 |
},
|
7430 |
"dist": {
|
7431 |
"type": "zip",
|
7432 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-codeception/repository/archive.zip?sha=04a40465fab6e07cf2ece61e86f547c7598c044e",
|
7433 |
+
"reference": "04a40465fab6e07cf2ece61e86f547c7598c044e",
|
7434 |
"shasum": ""
|
7435 |
},
|
7436 |
"require": {
|
7484 |
"codeception",
|
7485 |
"wordpress"
|
7486 |
],
|
7487 |
+
"time": "2020-04-22T09:22:48+00:00"
|
7488 |
},
|
7489 |
{
|
7490 |
"name": "wpdesk/wp-logs",
|
7637 |
},
|
7638 |
{
|
7639 |
"name": "wpdesk/wp-wpdesk-composer",
|
7640 |
+
"version": "2.8.1",
|
7641 |
"source": {
|
7642 |
"type": "git",
|
7643 |
"url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
|
7644 |
+
"reference": "6c65313b78e8168414c5a7b08ae09224de97cffb"
|
7645 |
},
|
7646 |
"dist": {
|
7647 |
"type": "zip",
|
7648 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=6c65313b78e8168414c5a7b08ae09224de97cffb",
|
7649 |
+
"reference": "6c65313b78e8168414c5a7b08ae09224de97cffb",
|
7650 |
"shasum": ""
|
7651 |
},
|
7652 |
"require": {
|
7676 |
"email": "krzysiek@wpdesk.pl"
|
7677 |
}
|
7678 |
],
|
7679 |
+
"time": "2020-05-02T20:19:07+00:00"
|
7680 |
},
|
7681 |
{
|
7682 |
"name": "wpdesk/wp-wpdesk-helper",
|
flexible-checkout-fields.php
CHANGED
@@ -3,15 +3,15 @@
|
|
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 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
10 |
Domain Path: /lang/
|
11 |
Requires at least: 4.6
|
12 |
-
Tested up to: 5.4
|
13 |
-
WC requires at least: 3.
|
14 |
-
WC tested up to: 4.1
|
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.
|
41 |
-
$plugin_release_timestamp = '2020-
|
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.10
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
10 |
Domain Path: /lang/
|
11 |
Requires at least: 4.6
|
12 |
+
Tested up to: 5.4.1
|
13 |
+
WC requires at least: 3.8.0
|
14 |
+
WC tested up to: 4.1.0
|
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.10';
|
41 |
+
$plugin_release_timestamp = '2020-05-06 15:11';
|
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-
|
11 |
-
"PO-Revision-Date: 2020-
|
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"
|
@@ -92,114 +92,114 @@ msgstr ""
|
|
92 |
msgid "WPML detected. Read %sthis instructions if you want to translate Flexible Checkout Fields. →%s"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
96 |
msgid "Billing"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
100 |
msgid "Shipping"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
104 |
msgid "Order"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
108 |
msgid "Single Line Text"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
112 |
msgid "Paragraph Text"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:325
|
116 |
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:330
|
|
|
117 |
msgid "Checkbox"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
121 |
msgid "Radio button"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
125 |
msgid "Select (Drop Down)"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
129 |
msgid "Multi-select"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
133 |
msgid "Date"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
137 |
msgid "Time"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
141 |
msgid "Color Picker"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
145 |
msgid "Headline"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
149 |
msgid "HTML"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
153 |
msgid "File Upload"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
157 |
msgid "Advanced"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
161 |
msgid "Uploading file..."
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
165 |
msgid "Close"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
169 |
msgid "Today"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
173 |
msgid "Next"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
177 |
msgid "Previous"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
181 |
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:165
|
182 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:198
|
183 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php:46
|
184 |
msgid "Settings"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
188 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:194
|
189 |
msgid "Docs"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
193 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:191
|
194 |
msgid "Support"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:
|
198 |
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:
|
203 |
msgid "Additional Information"
|
204 |
msgstr ""
|
205 |
|
@@ -266,11 +266,11 @@ msgstr ""
|
|
266 |
msgid "Opt-out"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:
|
270 |
msgid "Yes"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:
|
274 |
msgid "No"
|
275 |
msgstr ""
|
276 |
|
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-05-07T09:34:59+00:00\n"
|
11 |
+
"PO-Revision-Date: 2020-05-07T09:34:59+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"
|
92 |
msgid "WPML detected. Read %sthis instructions if you want to translate Flexible Checkout Fields. →%s"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:292
|
96 |
msgid "Billing"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:298
|
100 |
msgid "Shipping"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:304
|
104 |
msgid "Order"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:318
|
108 |
msgid "Single Line Text"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:322
|
112 |
msgid "Paragraph Text"
|
113 |
msgstr ""
|
114 |
|
|
|
115 |
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:330
|
116 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:335
|
117 |
msgid "Checkbox"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:340
|
121 |
msgid "Radio button"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:345
|
125 |
msgid "Select (Drop Down)"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:350
|
129 |
msgid "Multi-select"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:355
|
133 |
msgid "Date"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:360
|
137 |
msgid "Time"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:365
|
141 |
msgid "Color Picker"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:370
|
145 |
msgid "Headline"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:375
|
149 |
msgid "HTML"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:380
|
153 |
msgid "File Upload"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:946
|
157 |
msgid "Advanced"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1024
|
161 |
msgid "Uploading file..."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1070
|
165 |
msgid "Close"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1071
|
169 |
msgid "Today"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1074
|
173 |
msgid "Next"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1075
|
177 |
msgid "Previous"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1103
|
181 |
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:165
|
182 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:198
|
183 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php:46
|
184 |
msgid "Settings"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1105
|
188 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:194
|
189 |
msgid "Docs"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1106
|
193 |
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:191
|
194 |
msgid "Support"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1112
|
198 |
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:207
|
203 |
msgid "Additional Information"
|
204 |
msgstr ""
|
205 |
|
266 |
msgid "Opt-out"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:100
|
270 |
msgid "Yes"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:101
|
274 |
msgid "No"
|
275 |
msgstr ""
|
276 |
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Flexible Checkout Fields for WooCommerce ===
|
2 |
|
3 |
-
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko
|
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.5
|
7 |
-
Tested up to: 5.4
|
8 |
-
Stable tag: 2.4.
|
9 |
Requires PHP: 5.6
|
10 |
License: GPLv3 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -122,12 +122,6 @@ This plugin is compatible with variable products.
|
|
122 |
> **Upgrade to Flexible Checkout Fields PRO**<br />
|
123 |
> Get all PRO features and priority e-mail support. [Upgrade Now →](https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/?utm_source=wporg&utm_medium=link&utm_campaign=wporg-fcf)
|
124 |
|
125 |
-
= WooCommerce Compatibility =
|
126 |
-
|
127 |
-
**WooCommerce 3.9 ready!**
|
128 |
-
|
129 |
-
Flexible Checkout Fields also plays well with older versions of WooCommerce. We tested the plugin with WooCommerce 3.1.0 and up.
|
130 |
-
|
131 |
= Well Documented =
|
132 |
|
133 |
We are proud of our docs. We spend a great deal of time to polish them and make them as complete as possible. [Read Flexible Checkout Fields Docs →](https://www.wpdesk.net/docs/woocommerce-checkout-fields-docs/)
|
@@ -193,10 +187,13 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
196 |
-
= 2.4.
|
|
|
|
|
|
|
197 |
* Fixed missing Copy from billing address button
|
198 |
|
199 |
-
= 2.4.8- 2020-04-09 =
|
200 |
* Fixed warnings on settings saving
|
201 |
|
202 |
= 2.4.7 - 2020-04-03 =
|
1 |
=== Flexible Checkout Fields for WooCommerce ===
|
2 |
|
3 |
+
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,damianmachnik
|
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.5
|
7 |
+
Tested up to: 5.4.1
|
8 |
+
Stable tag: 2.4.10
|
9 |
Requires PHP: 5.6
|
10 |
License: GPLv3 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
122 |
> **Upgrade to Flexible Checkout Fields PRO**<br />
|
123 |
> Get all PRO features and priority e-mail support. [Upgrade Now →](https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/?utm_source=wporg&utm_medium=link&utm_campaign=wporg-fcf)
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
= Well Documented =
|
126 |
|
127 |
We are proud of our docs. We spend a great deal of time to polish them and make them as complete as possible. [Read Flexible Checkout Fields Docs →](https://www.wpdesk.net/docs/woocommerce-checkout-fields-docs/)
|
187 |
|
188 |
== Changelog ==
|
189 |
|
190 |
+
= 2.4.10 - 2020-05-04 =
|
191 |
+
* Fixed additional fields not saved in user profile
|
192 |
+
|
193 |
+
= 2.4.9 - 2020-04-21 =
|
194 |
* Fixed missing Copy from billing address button
|
195 |
|
196 |
+
= 2.4.8 - 2020-04-09 =
|
197 |
* Fixed warnings on settings saving
|
198 |
|
199 |
= 2.4.7 - 2020-04-03 =
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -238,6 +238,8 @@ return array(
|
|
238 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => $baseDir . '/classes/myaccount-filed-processor.php',
|
239 |
'Flexible_Checkout_Fields_Plugin' => $baseDir . '/classes/class-flexible-checkout-fields-plugin.php',
|
240 |
'Flexible_Checkout_Fields_Settings' => $baseDir . '/classes/settings.php',
|
|
|
|
|
241 |
'Flexible_Checkout_Fields_User_Profile' => $baseDir . '/classes/user-profile.php',
|
242 |
'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/Psr/Log/AbstractLogger.php',
|
243 |
'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/Psr/Log/InvalidArgumentException.php',
|
238 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => $baseDir . '/classes/myaccount-filed-processor.php',
|
239 |
'Flexible_Checkout_Fields_Plugin' => $baseDir . '/classes/class-flexible-checkout-fields-plugin.php',
|
240 |
'Flexible_Checkout_Fields_Settings' => $baseDir . '/classes/settings.php',
|
241 |
+
'Flexible_Checkout_Fields_User_Meta' => $baseDir . '/classes/user-meta.php',
|
242 |
+
'Flexible_Checkout_Fields_User_Meta_Checkout' => $baseDir . '/classes/user-meta-checkout.php',
|
243 |
'Flexible_Checkout_Fields_User_Profile' => $baseDir . '/classes/user-profile.php',
|
244 |
'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/Psr/Log/AbstractLogger.php',
|
245 |
'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/Psr/Log/InvalidArgumentException.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitc0d762a0e7cb8b1ef64e3babe6948408
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
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\
|
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 ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0', '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\ComposerStaticInitfbb5222b79418e17397088721689fdb0::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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'P' =>
|
@@ -253,6 +253,8 @@ class ComposerStaticInitc0d762a0e7cb8b1ef64e3babe6948408
|
|
253 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => __DIR__ . '/../..' . '/classes/myaccount-filed-processor.php',
|
254 |
'Flexible_Checkout_Fields_Plugin' => __DIR__ . '/../..' . '/classes/class-flexible-checkout-fields-plugin.php',
|
255 |
'Flexible_Checkout_Fields_Settings' => __DIR__ . '/../..' . '/classes/settings.php',
|
|
|
|
|
256 |
'Flexible_Checkout_Fields_User_Profile' => __DIR__ . '/../..' . '/classes/user-profile.php',
|
257 |
'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/AbstractLogger.php',
|
258 |
'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/Psr/Log/InvalidArgumentException.php',
|
@@ -276,9 +278,9 @@ class ComposerStaticInitc0d762a0e7cb8b1ef64e3babe6948408
|
|
276 |
public static function getInitializer(ClassLoader $loader)
|
277 |
{
|
278 |
return \Closure::bind(function () use ($loader) {
|
279 |
-
$loader->prefixLengthsPsr4 =
|
280 |
-
$loader->prefixDirsPsr4 =
|
281 |
-
$loader->classMap =
|
282 |
|
283 |
}, null, ClassLoader::class);
|
284 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitfbb5222b79418e17397088721689fdb0
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'P' =>
|
253 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => __DIR__ . '/../..' . '/classes/myaccount-filed-processor.php',
|
254 |
'Flexible_Checkout_Fields_Plugin' => __DIR__ . '/../..' . '/classes/class-flexible-checkout-fields-plugin.php',
|
255 |
'Flexible_Checkout_Fields_Settings' => __DIR__ . '/../..' . '/classes/settings.php',
|
256 |
+
'Flexible_Checkout_Fields_User_Meta' => __DIR__ . '/../..' . '/classes/user-meta.php',
|
257 |
+
'Flexible_Checkout_Fields_User_Meta_Checkout' => __DIR__ . '/../..' . '/classes/user-meta-checkout.php',
|
258 |
'Flexible_Checkout_Fields_User_Profile' => __DIR__ . '/../..' . '/classes/user-profile.php',
|
259 |
'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/AbstractLogger.php',
|
260 |
'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/Psr/Log/InvalidArgumentException.php',
|
278 |
public static function getInitializer(ClassLoader $loader)
|
279 |
{
|
280 |
return \Closure::bind(function () use ($loader) {
|
281 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitfbb5222b79418e17397088721689fdb0::$prefixLengthsPsr4;
|
282 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitfbb5222b79418e17397088721689fdb0::$prefixDirsPsr4;
|
283 |
+
$loader->classMap = ComposerStaticInitfbb5222b79418e17397088721689fdb0::$classMap;
|
284 |
|
285 |
}, null, ClassLoader::class);
|
286 |
}
|