Version Description
- Fix the plugin reintegration process
Download this release
Release Info
Developer | kkopaczyktidio |
Plugin | Tidio Live Chat |
Version | 6.0.1 |
Comparing to | |
See all releases |
Code changes from version 6.0.0 to 6.0.1
- readme.txt +6 -2
- src/Admin/IframeSetup.php +17 -1
- tidio-elements.php +2 -2
- vendor/composer/InstalledVersions.php +2 -2
- vendor/composer/installed.php +2 -2
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: tytus-tytus, lucastidio, marcingwizdala, kkopaczyktidio, ksladek, adrianmtidio
|
3 |
Tags: free live chat, live chat, chat, chatbot, livechat, tidio, widget, zendesk, mailchimp, messenger
|
4 |
Requires at least: 4.7
|
5 |
-
Tested up to: 6.
|
6 |
Requires PHP: 7.2
|
7 |
-
Stable tag: 6.0.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -198,6 +198,10 @@ Currently, Tidio is available in English and French. Other languages are in deve
|
|
198 |
|
199 |
== Changelog ==
|
200 |
|
|
|
|
|
|
|
|
|
201 |
= 6.0.0 =
|
202 |
|
203 |
- Add WooCommerce integration
|
2 |
Contributors: tytus-tytus, lucastidio, marcingwizdala, kkopaczyktidio, ksladek, adrianmtidio
|
3 |
Tags: free live chat, live chat, chat, chatbot, livechat, tidio, widget, zendesk, mailchimp, messenger
|
4 |
Requires at least: 4.7
|
5 |
+
Tested up to: 6.1
|
6 |
Requires PHP: 7.2
|
7 |
+
Stable tag: 6.0.1
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
198 |
|
199 |
== Changelog ==
|
200 |
|
201 |
+
= 6.0.1 =
|
202 |
+
|
203 |
+
- Fix the plugin reintegration process
|
204 |
+
|
205 |
= 6.0.0 =
|
206 |
|
207 |
- Add WooCommerce integration
|
src/Admin/IframeSetup.php
CHANGED
@@ -59,7 +59,8 @@ class IframeSetup
|
|
59 |
{
|
60 |
$queryParams = array_merge(
|
61 |
[
|
62 |
-
'panelUrl' => $this->getPanelRedirectUrl()
|
|
|
63 |
],
|
64 |
$this->getDefaultIframeQueryParams(),
|
65 |
$this->wooCommerceIntegrationService->getIntegrationData()->toIframeData()
|
@@ -69,6 +70,21 @@ class IframeSetup
|
|
69 |
return sprintf('%s?%s', $iframeBaseUrl, http_build_query($queryParams));
|
70 |
}
|
71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
/**
|
73 |
* @return array<string, string>
|
74 |
*/
|
59 |
{
|
60 |
$queryParams = array_merge(
|
61 |
[
|
62 |
+
'panelUrl' => $this->getPanelRedirectUrl(),
|
63 |
+
'reintegrationRoute' => $this->prepareReintegrationIframeRoute()
|
64 |
],
|
65 |
$this->getDefaultIframeQueryParams(),
|
66 |
$this->wooCommerceIntegrationService->getIntegrationData()->toIframeData()
|
70 |
return sprintf('%s?%s', $iframeBaseUrl, http_build_query($queryParams));
|
71 |
}
|
72 |
|
73 |
+
/**
|
74 |
+
* @return string
|
75 |
+
*/
|
76 |
+
private function prepareReintegrationIframeRoute()
|
77 |
+
{
|
78 |
+
$queryParams = array_merge(
|
79 |
+
[
|
80 |
+
'pluginUrl' => AdminRouting::getEndpointForIntegrateProjectAction()
|
81 |
+
],
|
82 |
+
$this->getDefaultIframeQueryParams()
|
83 |
+
);
|
84 |
+
|
85 |
+
return sprintf('/login-platforms?%s', http_build_query($queryParams));
|
86 |
+
}
|
87 |
+
|
88 |
/**
|
89 |
* @return array<string, string>
|
90 |
*/
|
tidio-elements.php
CHANGED
@@ -8,7 +8,7 @@ if (!defined('WPINC')) {
|
|
8 |
* Plugin Name: Tidio Chat
|
9 |
* Plugin URI: http://www.tidio.com
|
10 |
* Description: Tidio Live Chat - live chat boosted with chatbots for your online business. Integrates with your website in less than 20 seconds.
|
11 |
-
* Version: 6.0.
|
12 |
* Author: Tidio Ltd.
|
13 |
* Author URI: http://www.tidio.com
|
14 |
* Text Domain: tidio-live-chat
|
@@ -16,7 +16,7 @@ if (!defined('WPINC')) {
|
|
16 |
* License: GPL2
|
17 |
*/
|
18 |
|
19 |
-
define('TIDIOCHAT_VERSION', '6.0.
|
20 |
define('AFFILIATE_CONFIG_FILE_PATH', get_template_directory() . '/tidio_affiliate_ref_id.txt');
|
21 |
|
22 |
require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php';
|
8 |
* Plugin Name: Tidio Chat
|
9 |
* Plugin URI: http://www.tidio.com
|
10 |
* Description: Tidio Live Chat - live chat boosted with chatbots for your online business. Integrates with your website in less than 20 seconds.
|
11 |
+
* Version: 6.0.1
|
12 |
* Author: Tidio Ltd.
|
13 |
* Author URI: http://www.tidio.com
|
14 |
* Text Domain: tidio-live-chat
|
16 |
* License: GPL2
|
17 |
*/
|
18 |
|
19 |
+
define('TIDIOCHAT_VERSION', '6.0.1');
|
20 |
define('AFFILIATE_CONFIG_FILE_PATH', get_template_directory() . '/tidio_affiliate_ref_id.txt');
|
21 |
|
22 |
require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php';
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -30,7 +30,7 @@ private static $installed = array (
|
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
-
'reference' => '
|
34 |
'name' => '__root__',
|
35 |
),
|
36 |
'versions' =>
|
@@ -42,7 +42,7 @@ private static $installed = array (
|
|
42 |
'aliases' =>
|
43 |
array (
|
44 |
),
|
45 |
-
'reference' => '
|
46 |
),
|
47 |
),
|
48 |
);
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
+
'reference' => 'e533be6eddd79a7c01f79b541c7207aacec58ef9',
|
34 |
'name' => '__root__',
|
35 |
),
|
36 |
'versions' =>
|
42 |
'aliases' =>
|
43 |
array (
|
44 |
),
|
45 |
+
'reference' => 'e533be6eddd79a7c01f79b541c7207aacec58ef9',
|
46 |
),
|
47 |
),
|
48 |
);
|
vendor/composer/installed.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
-
'reference' => '
|
10 |
'name' => '__root__',
|
11 |
),
|
12 |
'versions' =>
|
@@ -18,7 +18,7 @@
|
|
18 |
'aliases' =>
|
19 |
array (
|
20 |
),
|
21 |
-
'reference' => '
|
22 |
),
|
23 |
),
|
24 |
);
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
+
'reference' => 'e533be6eddd79a7c01f79b541c7207aacec58ef9',
|
10 |
'name' => '__root__',
|
11 |
),
|
12 |
'versions' =>
|
18 |
'aliases' =>
|
19 |
array (
|
20 |
),
|
21 |
+
'reference' => 'e533be6eddd79a7c01f79b541c7207aacec58ef9',
|
22 |
),
|
23 |
),
|
24 |
);
|