Skip to content

Commit

Permalink
fix and versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
timoj committed Dec 28, 2017
1 parent 0dc3f4b commit afb865d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions includes/wcwuunder-create.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion includes/wcwuunder-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
),
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-wuunder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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()
{
Expand Down

0 comments on commit afb865d

Please sign in to comment.