Version Description
- Fix: undefined index
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 4.5.2 |
| Comparing to | |
| See all releases | |
Code changes from version 4.5.1 to 4.5.2
- new/model/class-wooccm-field-old.php +6 -1
- readme.txt +4 -1
- woocommerce-checkout-manager.php +2 -2
new/model/class-wooccm-field-old.php
CHANGED
|
@@ -192,6 +192,8 @@ class WOOCCM_Field_Compatibility extends WOOCCM_Field {
|
|
| 192 |
if (!empty($value) && !is_array($value)) {
|
| 193 |
if (strpos($value, '||') !== false) {
|
| 194 |
$value = explode('||', $value);
|
|
|
|
|
|
|
| 195 |
} else {
|
| 196 |
$value = (array) $value;
|
| 197 |
}
|
|
@@ -206,7 +208,10 @@ class WOOCCM_Field_Compatibility extends WOOCCM_Field {
|
|
| 206 |
if (count($value)) {
|
| 207 |
$value = implode('||', $value);
|
| 208 |
} else {
|
| 209 |
-
|
|
|
|
|
|
|
|
|
|
| 210 |
}
|
| 211 |
}
|
| 212 |
|
| 192 |
if (!empty($value) && !is_array($value)) {
|
| 193 |
if (strpos($value, '||') !== false) {
|
| 194 |
$value = explode('||', $value);
|
| 195 |
+
} elseif (strpos($value, ',') !== false) {
|
| 196 |
+
$value = explode(',', $value);
|
| 197 |
} else {
|
| 198 |
$value = (array) $value;
|
| 199 |
}
|
| 208 |
if (count($value)) {
|
| 209 |
$value = implode('||', $value);
|
| 210 |
} else {
|
| 211 |
+
|
| 212 |
+
//error_log(json_encode($value));
|
| 213 |
+
|
| 214 |
+
$value = @$value[0];
|
| 215 |
}
|
| 216 |
}
|
| 217 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/
|
|
| 4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
| 5 |
Requires at least: 3.0
|
| 6 |
Tested up to: 5.2.3
|
| 7 |
-
Stable tag: 4.5.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -137,6 +137,9 @@ Example:
|
|
| 137 |
|
| 138 |
== Changelog ==
|
| 139 |
|
|
|
|
|
|
|
|
|
|
| 140 |
= 4.5.1 =
|
| 141 |
* Fix: woocommerce first additional field delete in admin
|
| 142 |
* Fix: woocommerce billing field disable
|
| 4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
| 5 |
Requires at least: 3.0
|
| 6 |
Tested up to: 5.2.3
|
| 7 |
+
Stable tag: 4.5.2
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 137 |
|
| 138 |
== Changelog ==
|
| 139 |
|
| 140 |
+
= 4.5.2 =
|
| 141 |
+
* Fix: undefined index
|
| 142 |
+
|
| 143 |
= 4.5.1 =
|
| 144 |
* Fix: woocommerce first additional field delete in admin
|
| 145 |
* Fix: woocommerce billing field disable
|
woocommerce-checkout-manager.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Plugin Name: WooCommerce Checkout Manager
|
| 5 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
| 6 |
-
* Version: 4.5.
|
| 7 |
* Author: QuadLayers
|
| 8 |
* Author URI: https://www.quadlayers.com
|
| 9 |
* Copyright: 2019 QuadLayers (https://www.quadlayers.com)
|
|
@@ -17,7 +17,7 @@ if (!defined('WOOCCM_PLUGIN_NAME')) {
|
|
| 17 |
define('WOOCCM_PLUGIN_NAME', 'WooCommerce Checkout Manager');
|
| 18 |
}
|
| 19 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
| 20 |
-
define('WOOCCM_PLUGIN_VERSION', '4.5.
|
| 21 |
}
|
| 22 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
| 23 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
| 3 |
/**
|
| 4 |
* Plugin Name: WooCommerce Checkout Manager
|
| 5 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
| 6 |
+
* Version: 4.5.2
|
| 7 |
* Author: QuadLayers
|
| 8 |
* Author URI: https://www.quadlayers.com
|
| 9 |
* Copyright: 2019 QuadLayers (https://www.quadlayers.com)
|
| 17 |
define('WOOCCM_PLUGIN_NAME', 'WooCommerce Checkout Manager');
|
| 18 |
}
|
| 19 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
| 20 |
+
define('WOOCCM_PLUGIN_VERSION', '4.5.2');
|
| 21 |
}
|
| 22 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
| 23 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
