diff --git a/CHANGELOG.md b/CHANGELOG.md index c94b27e..7d82f9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2018-03-22 v.2.1.3 +* Исправлена ошибка на php5.3 + ## 2018-03-21 v.2.1.2 * Добавлена локализация плагина * Добавлена интеграция с UA diff --git a/woo-retailcrm/retailcrm.php b/woo-retailcrm/retailcrm.php index 8db7d09..0e09d92 100644 --- a/woo-retailcrm/retailcrm.php +++ b/woo-retailcrm/retailcrm.php @@ -1,6 +1,6 @@ ga('require', 'ecommerce', 'ecommerce.js'); ga('ecommerce:addTransaction', { - 'id': get_data()['id']; ?>, + 'id': get_id(); ?>, 'affiliation': '', 'revenue': get_total(); ?>, 'shipping': get_total_tax(); ?>, @@ -423,7 +423,7 @@ function send_analytics() { ga('ecommerce:addItem', { - 'id': get_data()['id']; ?>, + 'id': get_id(); ?>, 'sku': , 'name': '', 'price': , diff --git a/woo-retailcrm/uninstall.php b/woo-retailcrm/uninstall.php index e6ff9f2..c1ed9db 100644 --- a/woo-retailcrm/uninstall.php +++ b/woo-retailcrm/uninstall.php @@ -15,7 +15,7 @@ * * * @link https://wordpress.org/plugins/woo-retailcrm/ - * @since 2.1.2 + * @since 2.1.3 * * @package RetailCRM */