Version Description
It is highly recommended that you upgrade to WP Live Chat Support version 8.0.20 for performance reasons.
Download this release
Release Info
Developer | WP-LiveChat |
Plugin | WP Live Chat Support |
Version | 8.0.20 |
Comparing to | |
See all releases |
Code changes from version 8.0.19 to 8.0.20
- js/wplc_u_admin_events.js +2 -2
- modules/gdpr.php +5 -4
- readme.txt +8 -0
- wp-live-chat-support.php +7 -2
js/wplc_u_admin_events.js
CHANGED
@@ -101,7 +101,7 @@ jQuery(document).on("bleeper_connect", function(e) {
|
|
101 |
jQuery(".nifty_bg_holder").css('left','25%');
|
102 |
|
103 |
} else {
|
104 |
-
socket = io.connect(node_uri, { secure:true, query : e.ndata.query_string } );
|
105 |
wplc_node_socket_connected = true;
|
106 |
bleeper_delegates();
|
107 |
bleeper_update_agent_unread();
|
@@ -682,7 +682,7 @@ jQuery(document).on("bleeper_dom_ready", function(e) {
|
|
682 |
}
|
683 |
} else if (e.ndata.action === "wplc_choose_accepting") {
|
684 |
if (typeof socket === "undefined" || socket.connected === false) {
|
685 |
-
socket = io.connect(node_uri, { secure:true, query : query_string } );
|
686 |
bleeper_delegates();
|
687 |
jQuery(".nifty_bg_holder").fadeOut();
|
688 |
|
101 |
jQuery(".nifty_bg_holder").css('left','25%');
|
102 |
|
103 |
} else {
|
104 |
+
socket = io.connect(node_uri, { secure:true, query : e.ndata.query_string, transports: ['websocket'] } );
|
105 |
wplc_node_socket_connected = true;
|
106 |
bleeper_delegates();
|
107 |
bleeper_update_agent_unread();
|
682 |
}
|
683 |
} else if (e.ndata.action === "wplc_choose_accepting") {
|
684 |
if (typeof socket === "undefined" || socket.connected === false) {
|
685 |
+
socket = io.connect(node_uri, { secure:true, query : query_string, transports: ['websocket'] } );
|
686 |
bleeper_delegates();
|
687 |
jQuery(".nifty_bg_holder").fadeOut();
|
688 |
|
modules/gdpr.php
CHANGED
@@ -9,12 +9,13 @@ add_filter("wplc_activate_default_settings_array", "wplc_gdpr_set_default_settin
|
|
9 |
* Sets the default GDPR options
|
10 |
*/
|
11 |
function wplc_gdpr_set_default_settings($wplc_default_settings_array){
|
12 |
-
|
|
|
13 |
if(!isset($wplc_default_settings_array['wplc_gdpr_enabled'])){
|
14 |
//Is not set already
|
15 |
-
|
16 |
}
|
17 |
-
}
|
18 |
return $wplc_default_settings_array;
|
19 |
}
|
20 |
|
@@ -756,7 +757,7 @@ function wplc_gdpr_update_settings_between_versions($wplc_settings){
|
|
756 |
if($gdpr_enabled_atleast_once_before === false){
|
757 |
//Only fire if this user has never had GDPR enabled before
|
758 |
update_option('WPLC_GDPR_ENABLED_AT_LEAST_ONCE', 'true');
|
759 |
-
$wplc_settings['wplc_gdpr_enabled'] = '
|
760 |
}
|
761 |
}
|
762 |
|
9 |
* Sets the default GDPR options
|
10 |
*/
|
11 |
function wplc_gdpr_set_default_settings($wplc_default_settings_array){
|
12 |
+
//Disabled by default on new installations
|
13 |
+
/*if(is_array($wplc_default_settings_array)){
|
14 |
if(!isset($wplc_default_settings_array['wplc_gdpr_enabled'])){
|
15 |
//Is not set already
|
16 |
+
//$wplc_default_settings_array['wplc_gdpr_enabled'] = 0;
|
17 |
}
|
18 |
+
}*/
|
19 |
return $wplc_default_settings_array;
|
20 |
}
|
21 |
|
757 |
if($gdpr_enabled_atleast_once_before === false){
|
758 |
//Only fire if this user has never had GDPR enabled before
|
759 |
update_option('WPLC_GDPR_ENABLED_AT_LEAST_ONCE', 'true');
|
760 |
+
$wplc_settings['wplc_gdpr_enabled'] = '0';
|
761 |
}
|
762 |
}
|
763 |
|
readme.txt
CHANGED
@@ -208,6 +208,9 @@ If the live chat box still does not appear on your website, please go through th
|
|
208 |
|
209 |
== Upgrade Notice ==
|
210 |
|
|
|
|
|
|
|
211 |
= 8.0.18 =
|
212 |
It is highly recommended that you upgrade to WP Live Chat Support version 8.0.18 for security reasons.
|
213 |
|
@@ -244,6 +247,11 @@ We have patched the PHPMailer vulnerability. Please update to version 7.0.02.
|
|
244 |
|
245 |
== Changelog ==
|
246 |
|
|
|
|
|
|
|
|
|
|
|
247 |
= 8.0.19 - 2018-11-19 - Medium priority =
|
248 |
* Tested on WordPress 5 Beta
|
249 |
* Tested Basic Gutenberg Block Support
|
208 |
|
209 |
== Upgrade Notice ==
|
210 |
|
211 |
+
= 8.0.20 =
|
212 |
+
It is highly recommended that you upgrade to WP Live Chat Support version 8.0.20 for performance reasons.
|
213 |
+
|
214 |
= 8.0.18 =
|
215 |
It is highly recommended that you upgrade to WP Live Chat Support version 8.0.18 for security reasons.
|
216 |
|
247 |
|
248 |
== Changelog ==
|
249 |
|
250 |
+
= 8.0.20 - 2018-11-29 - Medium priority =
|
251 |
+
* Fixed issue where relay server requests were made via a shortpoll. (Performance Update)
|
252 |
+
* Re-enabled automatic server location selection for new insttalations
|
253 |
+
* GDPR Compliance is now disabled by default for new installations
|
254 |
+
|
255 |
= 8.0.19 - 2018-11-19 - Medium priority =
|
256 |
* Tested on WordPress 5 Beta
|
257 |
* Tested Basic Gutenberg Block Support
|
wp-live-chat-support.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Live Chat Support
|
4 |
Plugin URI: http://www.wp-livechat.com
|
5 |
Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support.
|
6 |
-
Version: 8.0.
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
Text Domain: wplivechat
|
@@ -11,6 +11,11 @@
|
|
11 |
*/
|
12 |
|
13 |
/**
|
|
|
|
|
|
|
|
|
|
|
14 |
* 8.0.19 - 2018-11-19 - Medium priority
|
15 |
* Tested on WordPress 5 Beta
|
16 |
* Tested Basic Gutenberg Block Support
|
@@ -702,7 +707,7 @@ global $debug_start;
|
|
702 |
$wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
|
703 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
704 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
705 |
-
$wplc_version = "8.0.
|
706 |
|
707 |
define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
|
708 |
define('WPLC_BASIC_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
|
3 |
Plugin Name: WP Live Chat Support
|
4 |
Plugin URI: http://www.wp-livechat.com
|
5 |
Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support.
|
6 |
+
Version: 8.0.20
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
Text Domain: wplivechat
|
11 |
*/
|
12 |
|
13 |
/**
|
14 |
+
* 8.0.20 - 2018-11-29 - Medium priority
|
15 |
+
* Fixed issue where relay server requests were made via a shortpoll. (Performance Update)
|
16 |
+
* Re-enabled automatic server location selection for new insttalations
|
17 |
+
* GDPR Compliance is now disabled by default for new installations
|
18 |
+
*
|
19 |
* 8.0.19 - 2018-11-19 - Medium priority
|
20 |
* Tested on WordPress 5 Beta
|
21 |
* Tested Basic Gutenberg Block Support
|
707 |
$wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
|
708 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
709 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
710 |
+
$wplc_version = "8.0.20";
|
711 |
|
712 |
define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
|
713 |
define('WPLC_BASIC_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
|