diff --git a/CHANGELOG.md b/CHANGELOG.md index e5983d2..3aaf032 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2022-11-09 4.5.1 +* Correction of RAM overflow during ICMP product catalog generation. + ## 2022-09-30 4.5.0 * Fix path for js scripts * Migrating to PHP 7.0. diff --git a/VERSION b/VERSION index ae15394..99523d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.5.0 \ No newline at end of file +4.5.1 \ No newline at end of file diff --git a/src/include/class-wc-retailcrm-icml.php b/src/include/class-wc-retailcrm-icml.php index 31d486a..a48a17e 100644 --- a/src/include/class-wc-retailcrm-icml.php +++ b/src/include/class-wc-retailcrm-icml.php @@ -102,6 +102,9 @@ if (!class_exists('WC_Retailcrm_Icml')) : ] ); + // Clearing the object cache after calling the function wc_get_products + wp_cache_flush(); + if (empty($products)) { writeBaseLogs('Can`t get products!'); return; diff --git a/src/readme.txt b/src/readme.txt index dd61ec5..69f2979 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.0 +Stable tag: 4.5.1 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.1 = +* Correction of RAM overflow during ICMP product catalog generation. + = 4.5.0 = * Fix path for js scripts * Migrating to PHP 7.0. diff --git a/src/retailcrm.php b/src/retailcrm.php index 0e4e5c2..1cca569 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.0 + * Version: 4.5.1 * 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 62e7508..756cd67 100644 --- a/src/uninstall.php +++ b/src/uninstall.php @@ -16,7 +16,7 @@ * * @link https://wordpress.org/plugins/woo-retailcrm/ * - * @version 4.5.0 + * @version 4.5.1 * * @package RetailCRM */