From afb865d34197fbb23da33f5a200b08daaa4ca055 Mon Sep 17 00:00:00 2001 From: Timo Date: Thu, 28 Dec 2017 06:53:14 +0100 Subject: [PATCH] fix and versioning --- includes/wcwuunder-create.php | 4 ++-- includes/wcwuunder-settings.php | 1 - woocommerce-wuunder.php | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/includes/wcwuunder-create.php b/includes/wcwuunder-create.php index 0b45898..5758e66 100644 --- a/includes/wcwuunder-create.php +++ b/includes/wcwuunder-create.php @@ -6,7 +6,7 @@ class WC_Wuunder_Create { public $order_id; - private $version_obj = array("product" => "Woocommerce extension", "version" => array("build" => "2.2.0", "plugin" => "2.0")); + private $version_obj = array("product" => "Woocommerce extension", "version" => array("build" => "2.2.1", "plugin" => "2.0")); public function __construct() { @@ -86,7 +86,7 @@ private function buildWuunderData($orderId) if (count($dimensions) !== 3) { $dimensions = array($defLength, $defWidth, $defHeight); } else { - $dimensions = array() + $dimensions = array(); } $value = intval($order->get_subtotal() * 100); diff --git a/includes/wcwuunder-settings.php b/includes/wcwuunder-settings.php index c819718..d2c0bf8 100644 --- a/includes/wcwuunder-settings.php +++ b/includes/wcwuunder-settings.php @@ -134,7 +134,6 @@ public static function get_settings() 'post_booking_status' => array( 'name' => __('Set order status after booking to:', 'woocommerce-wuunder'), 'type' => 'select', - 'desc' => __('Ja = Test / staging, Nee = Live / productie', 'woocommerce-retailer'), 'options' => $mappedStatuses, 'id' => 'wc_wuunder_post_booking_status' ), diff --git a/woocommerce-wuunder.php b/woocommerce-wuunder.php index 12c9ba3..44582b1 100644 --- a/woocommerce-wuunder.php +++ b/woocommerce-wuunder.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Wuunder * Plugin URI: http://wearewuunder.com * Description: Wuunder shipping plugin - * Version: 2.2.0 + * Version: 2.2.1 * Author: Wuunder * Author URI: http://wearewuunder.com */ @@ -49,7 +49,7 @@ class Woocommerce_Wuunder public static $plugin_path; public static $plugin_basename; - const VERSION = '2.2.0'; + const VERSION = '2.2.1'; public function __construct() {