WooCommerce Checkout Manager - Version 5.1.8

Version Description

  • Fix: php errors
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Checkout Manager
Version 5.1.8
Comparing to
See all releases

Code changes from version 5.1.7 to 5.1.8

includes/class-wooccm-upload.php CHANGED
@@ -137,7 +137,7 @@ class WOOCCM_Upload
137
 
138
  foreach ($fields as $key => $field) {
139
 
140
- if ($field['type'] == 'file') {
141
 
142
  if ($attachments = get_post_meta($order_id, sprintf('_%s', $key), true)) {
143
 
137
 
138
  foreach ($fields as $key => $field) {
139
 
140
+ if (isset($field['type']) && $field['type'] == 'file') {
141
 
142
  if ($attachments = get_post_meta($order_id, sprintf('_%s', $key), true)) {
143
 
includes/model/class-wooccm-field.php CHANGED
@@ -360,7 +360,8 @@ class WOOCCM_Field extends WOOCCM_Model
360
  $field['key'] = $this->get_key($this->prefix, $field['name']);
361
 
362
  if (empty($field['position']) && is_array($field['class'])) {
363
- if ($position = array_intersect((array) $field['class'], array('form-row-wide', 'form-row-first', 'form-row-last'))) {
 
364
  $field['position'] = $position[0];
365
  } else {
366
  $field['position'] = 'form-row-wide';
360
  $field['key'] = $this->get_key($this->prefix, $field['name']);
361
 
362
  if (empty($field['position']) && is_array($field['class'])) {
363
+ $position = array_intersect((array) $field['class'], array('form-row-wide', 'form-row-first', 'form-row-last'));
364
+ if (isset($position[0])) {
365
  $field['position'] = $position[0];
366
  } else {
367
  $field['position'] = 'form-row-wide';
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.4
6
  Tested up to: 5.4.2
7
- Stable tag: 5.1.7
8
  WC requires at least: 3.1.0
9
  WC tested up to: 4.3.1
10
  License: GPLv3
@@ -107,6 +107,9 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
107
 
108
  == Changelog ==
109
 
 
 
 
110
  = 5.1.7 =
111
  * Fix: premium compatbility
112
 
4
  Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
5
  Requires at least: 3.4
6
  Tested up to: 5.4.2
7
+ Stable tag: 5.1.8
8
  WC requires at least: 3.1.0
9
  WC tested up to: 4.3.1
10
  License: GPLv3
107
 
108
  == Changelog ==
109
 
110
+ = 5.1.8 =
111
+ * Fix: php errors
112
+
113
  = 5.1.7 =
114
  * Fix: premium compatbility
115
 
woocommerce-checkout-manager.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Checkout Manager for WooCommerce
5
  * Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
6
  * Description: Manages WooCommerce Checkout, the advanced way.
7
- * Version: 5.1.7
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
@@ -20,7 +20,7 @@ if (!defined('WOOCCM_PLUGIN_NAME')) {
20
  define('WOOCCM_PLUGIN_NAME', 'Checkout Manager for WooCommerce');
21
  }
22
  if (!defined('WOOCCM_PLUGIN_VERSION')) {
23
- define('WOOCCM_PLUGIN_VERSION', '5.1.7');
24
  }
25
  if (!defined('WOOCCM_PLUGIN_FILE')) {
26
  define('WOOCCM_PLUGIN_FILE', __FILE__);
4
  * Plugin Name: Checkout Manager for WooCommerce
5
  * Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
6
  * Description: Manages WooCommerce Checkout, the advanced way.
7
+ * Version: 5.1.8
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
20
  define('WOOCCM_PLUGIN_NAME', 'Checkout Manager for WooCommerce');
21
  }
22
  if (!defined('WOOCCM_PLUGIN_VERSION')) {
23
+ define('WOOCCM_PLUGIN_VERSION', '5.1.8');
24
  }
25
  if (!defined('WOOCCM_PLUGIN_FILE')) {
26
  define('WOOCCM_PLUGIN_FILE', __FILE__);