1
0
mirror of synced 2025-02-21 01:13:13 +03:00

Fix a critical memory overflow error when generating ICML

This commit is contained in:
Kocmonavtik 2022-11-10 12:35:15 +03:00 committed by GitHub
parent 855ecc3aa7
commit 6623f1ef19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 4 deletions

View File

@ -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.

View File

@ -1 +1 @@
4.5.0
4.5.1

View File

@ -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;

View File

@ -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.

View File

@ -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

View File

@ -16,7 +16,7 @@
*
* @link https://wordpress.org/plugins/woo-retailcrm/
*
* @version 4.5.0
* @version 4.5.1
*
* @package RetailCRM
*/