Tidio Live Chat - Version 5.4.2

Version Description

  • Minor bugs related to notification fix
Download this release

Release Info

Developer kkopaczyktidio
Plugin Icon 128x128 Tidio Live Chat
Version 5.4.2
Comparing to
See all releases

Code changes from version 5.4.1 to 5.4.2

readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: free live chat, live chat, chat, chatbot, livechat, tidio, widget, zendesk
4
  Requires at least: 4.7
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
- Stable tag: 5.4.1
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
  = 5.4.1 =
202
 
203
  - Minor bugs related to notification fix
4
  Requires at least: 4.7
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
+ Stable tag: 5.4.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
198
 
199
  == Changelog ==
200
 
201
+ = 5.4.2 =
202
+
203
+ - Minor bugs related to notification fix
204
+
205
  = 5.4.1 =
206
 
207
  - Minor bugs related to notification fix
src/Admin/AdminNotice.php CHANGED
@@ -33,6 +33,7 @@ class AdminNotice
33
  $this->dismissibleNoticeService = $dismissibleNoticeService;
34
 
35
  add_action('admin_notices', [$this, 'addAdminErrorNotice']);
 
36
  }
37
 
38
  public function addAdminErrorNotice()
33
  $this->dismissibleNoticeService = $dismissibleNoticeService;
34
 
35
  add_action('admin_notices', [$this, 'addAdminErrorNotice']);
36
+ add_action('admin_notices', [$this, 'addPhp72RequirementDismissibleNotice']);
37
  }
38
 
39
  public function addAdminErrorNotice()
src/Admin/Notice/Views/NoticeTemplate.php CHANGED
@@ -8,11 +8,11 @@ use TidioLiveChat\Translation\I18n;
8
 
9
  <div>
10
  <style>
11
- .notice {
12
  display: flex;
13
  position: relative;
14
  }
15
- .notice p {
16
 
17
  font-weight: 400;
18
  font-size: 12px;
@@ -20,14 +20,14 @@ use TidioLiveChat\Translation\I18n;
20
  letter-spacing: -0.01em;
21
  margin: 12px 0;
22
  }
23
- .notice p.header {
24
  font-size: 14px;
25
  line-height: 18px;
26
  }
27
- .notice p strong {
28
  font-weight: 600;
29
  }
30
- .link.button {
31
  display: flex;
32
  justify-content: center;
33
  align-items: center;
@@ -40,29 +40,29 @@ use TidioLiveChat\Translation\I18n;
40
  margin-right: 24px;
41
  margin-left: auto;
42
  }
43
- section {
44
  margin-right: 48px;
45
  }
46
- section:last-child {
47
  margin-right: 24px;
48
  }
49
- .link.button:hover {
50
  color: #fff;
51
  background-color: #0049bd;
52
  }
53
- .notice-content {
54
  display: flex;
55
  flex-direction: row;
56
  align-items: center;
57
  min-width: 100%;
58
  }
59
- .logo {
60
  width: 32px;
61
  height: 32px;
62
  margin-left: 24px;
63
  margin-right: 24px;
64
  }
65
- .dissmiss-button {
66
  position: absolute;
67
  top: 4px;
68
  right: 4px;
@@ -70,24 +70,24 @@ use TidioLiveChat\Translation\I18n;
70
  cursor: pointer;
71
  }
72
  @media screen and (max-width: 782px) {
73
- .notice-content {
74
  display: block;
75
  }
76
- .link.button {
77
  display: inline-flex;
78
  margin-right: 0;
79
  margin-left: 0;
80
  align-self: flex-start;
81
  }
82
- .logo {
83
  display: none;
84
  }
85
- section:last-child {
86
  margin-right: 0;
87
  }
88
  }
89
  </style>
90
- <div class="notice notice-info">
91
  <div class="notice-content">
92
  <div class="logo">
93
  <svg
8
 
9
  <div>
10
  <style>
11
+ .tidio-notice-wrapper.notice {
12
  display: flex;
13
  position: relative;
14
  }
15
+ .tidio-notice-wrapper.notice p {
16
 
17
  font-weight: 400;
18
  font-size: 12px;
20
  letter-spacing: -0.01em;
21
  margin: 12px 0;
22
  }
23
+ .tidio-notice-wrapper.notice p.header {
24
  font-size: 14px;
25
  line-height: 18px;
26
  }
27
+ .tidio-notice-wrapper.notice p strong {
28
  font-weight: 600;
29
  }
30
+ .tidio-notice-wrapper .link.button {
31
  display: flex;
32
  justify-content: center;
33
  align-items: center;
40
  margin-right: 24px;
41
  margin-left: auto;
42
  }
43
+ .tidio-notice-wrapper section {
44
  margin-right: 48px;
45
  }
46
+ .tidio-notice-wrapper section:last-child {
47
  margin-right: 24px;
48
  }
49
+ .tidio-notice-wrapper .link.button:hover {
50
  color: #fff;
51
  background-color: #0049bd;
52
  }
53
+ .tidio-notice-wrapper .notice-content {
54
  display: flex;
55
  flex-direction: row;
56
  align-items: center;
57
  min-width: 100%;
58
  }
59
+ .tidio-notice-wrapper .logo {
60
  width: 32px;
61
  height: 32px;
62
  margin-left: 24px;
63
  margin-right: 24px;
64
  }
65
+ .tidio-notice-wrapper .dissmiss-button {
66
  position: absolute;
67
  top: 4px;
68
  right: 4px;
70
  cursor: pointer;
71
  }
72
  @media screen and (max-width: 782px) {
73
+ .tidio-notice-wrapper .notice-content {
74
  display: block;
75
  }
76
+ .tidio-notice-wrapper .link.button {
77
  display: inline-flex;
78
  margin-right: 0;
79
  margin-left: 0;
80
  align-self: flex-start;
81
  }
82
+ .tidio-notice-wrapper .logo {
83
  display: none;
84
  }
85
+ .tidio-notice-wrapper section:last-child {
86
  margin-right: 0;
87
  }
88
  }
89
  </style>
90
+ <div class="tidio-notice-wrapper notice notice-info">
91
  <div class="notice-content">
92
  <div class="logo">
93
  <svg
src/Admin/Notice/Views/Php72RequirementNotice.php CHANGED
@@ -8,11 +8,11 @@ use TidioLiveChat\Translation\I18n;
8
 
9
  <div>
10
  <style>
11
- .notice {
12
  display: flex;
13
  position: relative;
14
  }
15
- .notice p {
16
 
17
  font-weight: 400;
18
  font-size: 12px;
@@ -20,14 +20,14 @@ use TidioLiveChat\Translation\I18n;
20
  letter-spacing: -0.01em;
21
  margin: 12px 0;
22
  }
23
- .notice p.header {
24
  font-size: 14px;
25
  line-height: 18px;
26
  }
27
- .notice p strong {
28
  font-weight: 600;
29
  }
30
- .link.button {
31
  display: flex;
32
  justify-content: center;
33
  align-items: center;
@@ -40,55 +40,54 @@ use TidioLiveChat\Translation\I18n;
40
  margin-right: 24px;
41
  margin-left: auto;
42
  }
43
- section {
44
  margin-right: 48px;
45
  }
46
- section:last-child {
47
  margin-right: 24px;
48
  }
49
- .link.button:hover {
50
  color: #fff;
51
  background-color: #0049bd;
52
  }
53
- .notice-content {
54
  display: flex;
55
  flex-direction: row;
56
  align-items: center;
57
  min-width: 100%;
58
  }
59
- .logo {
60
  width: 32px;
61
  height: 32px;
62
  margin-left: 24px;
63
  margin-right: 24px;
64
  }
65
- .dissmiss-button {
66
  position: absolute;
67
  top: 4px;
68
  right: 4px;
69
  font-size: 13px;
70
  cursor: pointer;
71
  }
72
-
73
  @media screen and (max-width: 782px) {
74
- .notice-content {
75
  display: block;
76
  }
77
- .link.button {
78
  display: inline-flex;
79
  margin-right: 0;
80
  margin-left: 0;
81
  align-self: flex-start;
82
  }
83
- .logo {
84
  display: none;
85
  }
86
- section:last-child {
87
  margin-right: 0;
88
  }
89
  }
90
  </style>
91
- <div class="notice notice-info">
92
  <div class="notice-content">
93
  <div class="logo">
94
  <svg
8
 
9
  <div>
10
  <style>
11
+ .tidio-notice-wrapper.notice {
12
  display: flex;
13
  position: relative;
14
  }
15
+ .tidio-notice-wrapper.notice p {
16
 
17
  font-weight: 400;
18
  font-size: 12px;
20
  letter-spacing: -0.01em;
21
  margin: 12px 0;
22
  }
23
+ .tidio-notice-wrapper.notice p.header {
24
  font-size: 14px;
25
  line-height: 18px;
26
  }
27
+ .tidio-notice-wrapper.notice p strong {
28
  font-weight: 600;
29
  }
30
+ .tidio-notice-wrapper .link.button {
31
  display: flex;
32
  justify-content: center;
33
  align-items: center;
40
  margin-right: 24px;
41
  margin-left: auto;
42
  }
43
+ .tidio-notice-wrapper section {
44
  margin-right: 48px;
45
  }
46
+ .tidio-notice-wrapper section:last-child {
47
  margin-right: 24px;
48
  }
49
+ .tidio-notice-wrapper .link.button:hover {
50
  color: #fff;
51
  background-color: #0049bd;
52
  }
53
+ .tidio-notice-wrapper .notice-content {
54
  display: flex;
55
  flex-direction: row;
56
  align-items: center;
57
  min-width: 100%;
58
  }
59
+ .tidio-notice-wrapper .logo {
60
  width: 32px;
61
  height: 32px;
62
  margin-left: 24px;
63
  margin-right: 24px;
64
  }
65
+ .tidio-notice-wrapper .dissmiss-button {
66
  position: absolute;
67
  top: 4px;
68
  right: 4px;
69
  font-size: 13px;
70
  cursor: pointer;
71
  }
 
72
  @media screen and (max-width: 782px) {
73
+ .tidio-notice-wrapper .notice-content {
74
  display: block;
75
  }
76
+ .tidio-notice-wrapper .link.button {
77
  display: inline-flex;
78
  margin-right: 0;
79
  margin-left: 0;
80
  align-self: flex-start;
81
  }
82
+ .tidio-notice-wrapper .logo {
83
  display: none;
84
  }
85
+ .tidio-notice-wrapper section:last-child {
86
  margin-right: 0;
87
  }
88
  }
89
  </style>
90
+ <div class="tidio-notice-wrapper notice notice-info">
91
  <div class="notice-content">
92
  <div class="logo">
93
  <svg
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: 5.4.1
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', '5.4.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';
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: 5.4.2
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', '5.4.2');
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' => 'd8446490b4af1434cd77875ceb747ccbfb7ddc5e',
34
  'name' => '__root__',
35
  ),
36
  'versions' =>
@@ -42,7 +42,7 @@ private static $installed = array (
42
  'aliases' =>
43
  array (
44
  ),
45
- 'reference' => 'd8446490b4af1434cd77875ceb747ccbfb7ddc5e',
46
  ),
47
  ),
48
  );
30
  'aliases' =>
31
  array (
32
  ),
33
+ 'reference' => '69d6a6cb8a427dfd8b72060d3f83e1975885b154',
34
  'name' => '__root__',
35
  ),
36
  'versions' =>
42
  'aliases' =>
43
  array (
44
  ),
45
+ 'reference' => '69d6a6cb8a427dfd8b72060d3f83e1975885b154',
46
  ),
47
  ),
48
  );
vendor/composer/installed.php CHANGED
@@ -6,7 +6,7 @@
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => 'd8446490b4af1434cd77875ceb747ccbfb7ddc5e',
10
  'name' => '__root__',
11
  ),
12
  'versions' =>
@@ -18,7 +18,7 @@
18
  'aliases' =>
19
  array (
20
  ),
21
- 'reference' => 'd8446490b4af1434cd77875ceb747ccbfb7ddc5e',
22
  ),
23
  ),
24
  );
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => '69d6a6cb8a427dfd8b72060d3f83e1975885b154',
10
  'name' => '__root__',
11
  ),
12
  'versions' =>
18
  'aliases' =>
19
  array (
20
  ),
21
+ 'reference' => '69d6a6cb8a427dfd8b72060d3f83e1975885b154',
22
  ),
23
  ),
24
  );