Skip to content

Commit

Permalink
Added version info
Browse files Browse the repository at this point in the history
  • Loading branch information
timoj committed Sep 19, 2017
1 parent dc8f409 commit 48839aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions includes/wcwuunder-create.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
class WC_Wuunder_Create
{
public $order_id;
private $version_obj = array("product" => "Woocommerce extension", "version" => array("build" => "2.0.5", "plugin" => "2.0"));

public function __construct()
{
Expand Down Expand Up @@ -96,6 +97,7 @@ private function buildWuunderData($orderId)
"weight" => ($totalWeight ? $totalWeight : $defWeight),
"delivery_address" => $customer,
"pickup_address" => $company,
"source" => $this->version_obj
);
}

Expand Down
2 changes: 1 addition & 1 deletion woocommerce-wuunder.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Woocommerce_Wuunder
public static $plugin_path;
public static $plugin_basename;

const VERSION = '2.0.4';
const VERSION = '2.0.5';

public function __construct()
{
Expand Down

0 comments on commit 48839aa

Please sign in to comment.