diff --git a/CHANGELOG.md b/CHANGELOG.md index 4932db5..06126f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2023-03-01 4.5.4 +* Fix bug with creating orders with empty address + ## 2022-12-26 4.5.3 * Fix bug with products tax diff --git a/VERSION b/VERSION index ae6e65b..0ed2bfe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.5.3 \ No newline at end of file +4.5.4 diff --git a/src/include/class-wc-retailcrm-history.php b/src/include/class-wc-retailcrm-history.php index 655a3f8..136a2cb 100644 --- a/src/include/class-wc-retailcrm-history.php +++ b/src/include/class-wc-retailcrm-history.php @@ -1006,7 +1006,7 @@ if (!class_exists('WC_Retailcrm_History')) : /** * Returns data for address_1 and address_2(if exist data for this field) for WC order. * - * @param string $addressLine|null + * @param string|null $addressLine This address line will be split if it is needed * * @return mixed */ diff --git a/src/readme.txt b/src/readme.txt index 8ab01a3..ca7e487 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -5,7 +5,7 @@ Tags: Интеграция, Simla.com, simla Requires PHP: 7.0 Requires at least: 5.3 Tested up to: 6.0 -Stable tag: 4.5.3 +Stable tag: 4.5.4 License: GPLv1 or later License URI: http://www.gnu.org/licenses/gpl-1.0.html @@ -82,6 +82,9 @@ Asegúrate de tener una clave API específica para cada tienda. Las siguientes i == Changelog == += 4.5.4 = +* Fix bug with creating orders with empty address + = 4.5.3 = * Fix bug with products tax diff --git a/src/retailcrm.php b/src/retailcrm.php index adcd1fc..0207c47 100644 --- a/src/retailcrm.php +++ b/src/retailcrm.php @@ -5,7 +5,7 @@ * Description: Integration plugin for WooCommerce & Simla.com * Author: RetailDriver LLC * Author URI: http://retailcrm.pro/ - * Version: 4.5.3 + * Version: 4.5.4 * Tested up to: 6.0 * WC requires at least: 5.4 * WC tested up to: 6.9 diff --git a/src/uninstall.php b/src/uninstall.php index 585f4cb..fe81833 100644 --- a/src/uninstall.php +++ b/src/uninstall.php @@ -16,7 +16,7 @@ * * @link https://wordpress.org/plugins/woo-retailcrm/ * - * @version 4.5.3 + * @version 4.5.4 * * @package RetailCRM */ diff --git a/tests/test-wc-retailcrm-history.php b/tests/test-wc-retailcrm-history.php index 48603bb..84e9bde 100644 --- a/tests/test-wc-retailcrm-history.php +++ b/tests/test-wc-retailcrm-history.php @@ -57,7 +57,6 @@ class WC_Retailcrm_History_Test extends WC_Retailcrm_Test_Case_Helper if (is_object($orderItem)) { $this->assertEquals($product->get_id(), $orderItem->get_product()->get_id()); - $this->assertEquals($product->get_id(), $orderItem->get_product()->get_id()); } $this->assertNotEmpty($wcOrder->get_date_created());