diff --git a/README.md b/README.md index f89d917..6c4c0a9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Tags: woocommerce, connect, exact, exact online, xcore, d4d, dealer4dealer Requires at least: 4.7.5 Tested up to: 4.9.6 -Stable tag: 1.5.2 +Stable tag: 1.5.3 License: The MIT License (MIT) This module extends the api of Woocommerce and is needed for the usage of the xCore. For more information or support see http://www.dealer4dealer.nl. diff --git a/composer.json b/composer.json index 71b16ed..22b92b3 100644 --- a/composer.json +++ b/composer.json @@ -14,5 +14,5 @@ "php" : ">=5.6.0", "woocommerce/woocommerce" : ">=3.3.0" }, - "version": "1.5.2" + "version": "1.5.3" } diff --git a/includes/class-xcore.php b/includes/class-xcore.php index aeec5ee..10ac50e 100644 --- a/includes/class-xcore.php +++ b/includes/class-xcore.php @@ -4,7 +4,7 @@ class Xcore { - private $_version = '1.5.2'; + private $_version = '1.5.3'; protected static $_instance = null; protected static $_productInstance = null; @@ -54,6 +54,7 @@ public function xcore_api_version($data) public function includes() { + WC()->api->rest_api_includes(); include_once dirname(__FILE__) . '/class-xcore-products.php'; include_once dirname(__FILE__) . '/class-xcore-customers.php'; include_once dirname(__FILE__) . '/class-xcore-orders.php'; diff --git a/xcore.php b/xcore.php index 4dce13d..42a630f 100644 --- a/xcore.php +++ b/xcore.php @@ -4,7 +4,7 @@ Plugin Name: xCore Rest API extension Plugin URI: http://xcore.dealer4dealer.nl description: Extend WC Rest API to support xCore requests - @Version: 1.5.2 + @Version: 1.5.3 @Author: Dealer4Dealer Author URI: http://www.dealer4dealer.nl Requires at least: 4.7.5