1
0
Fork 0
mirror of synced 2025-04-02 21:36:14 +03:00

Update class-wc-retailcrm-request.php

This commit is contained in:
Uryvskiy Dima 2024-10-14 17:03:23 +03:00 committed by GitHub
parent 529918f7de
commit 28e375a3fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,11 +73,11 @@ class WC_Retailcrm_Request
$parameters = self::METHOD_GET === $method
? array_merge($this->defaultParameters, $parameters, [
'cms_source' => 'Woocommerce',
'php_version' => function_exists('phpversion') ? phpversion() : '',
'cms_source' => 'WordPress',
'cms_version' => function_exists('get_bloginfo') ? get_bloginfo('version') : '',
'module_version' => WC_Integration_Retailcrm::MODULE_VERSION,
'woocommerce_version' => WC()->version ?? '',
'woo_version' => WC()->version ?? '',
'php_version' => function_exists('phpversion') ? phpversion() : '',
'module_version' => WC_Integration_Retailcrm::MODULE_VERSION,
])
: $parameters = array_merge($this->defaultParameters, $parameters);