WP Live Chat Support - Version 7.0.03

Version Description

  • 2017-02-06 =
  • Fixed a bug that caused the name of the agent to disappear after refreshing the page
  • Fixed a bug that caused the agent name to display twice in the chat window
Download this release

Release Info

Developer WP-LiveChat
Plugin Icon 128x128 WP Live Chat Support
Version 7.0.03
Comparing to
See all releases

Code changes from version 7.0.02 to 7.0.03

js/wplc_u.js CHANGED
@@ -337,8 +337,8 @@ jQuery(document).ready(function() {
337
 
338
  if(message_content !== ""){
339
  var concatenated_message = "<span class='" + message_class + "'>";
340
- concatenated_message += message_grav;
341
- concatenated_message += message_from;
342
  concatenated_message += message_content;
343
  concatenated_message += "</span>";
344
 
@@ -514,8 +514,8 @@ jQuery(document).ready(function() {
514
 
515
  if(message_content !== ""){
516
  var concatenated_message = "<span class='" + message_class + "'>";
517
- concatenated_message += message_grav;
518
- concatenated_message += message_from;
519
  concatenated_message += message_content;
520
  concatenated_message += "</span>";
521
 
@@ -1072,12 +1072,12 @@ jQuery(document).ready(function() {
1072
  /**
1073
  * Show the name
1074
  */
1075
- var the_name = "<strong>"+jQuery("#wplc_name").val()+"</strong>: ";
1076
  if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
1077
  /**
1078
  * Show the avatar
1079
  */
1080
- wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( jQuery("#wplc_email").val() )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1081
 
1082
  } else {
1083
  /**
@@ -1094,7 +1094,7 @@ jQuery(document).ready(function() {
1094
  /**
1095
  * Show the avatar
1096
  */
1097
- wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( jQuery("#wplc_email").val() )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1098
  } else {
1099
  /**
1100
  * Don't show the avatar
337
 
338
  if(message_content !== ""){
339
  var concatenated_message = "<span class='" + message_class + "'>";
340
+ // concatenated_message += message_grav;
341
+ // concatenated_message += message_from;
342
  concatenated_message += message_content;
343
  concatenated_message += "</span>";
344
 
514
 
515
  if(message_content !== ""){
516
  var concatenated_message = "<span class='" + message_class + "'>";
517
+ // concatenated_message += message_grav;
518
+ // concatenated_message += message_from;
519
  concatenated_message += message_content;
520
  concatenated_message += "</span>";
521
 
1072
  /**
1073
  * Show the name
1074
  */
1075
+ var the_name = "<strong>"+wplc_name+"</strong>: ";
1076
  if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
1077
  /**
1078
  * Show the avatar
1079
  */
1080
+ wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( wplc_email )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1081
 
1082
  } else {
1083
  /**
1094
  /**
1095
  * Show the avatar
1096
  */
1097
+ wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( wplc_email )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1098
  } else {
1099
  /**
1100
  * Don't show the avatar
js/wplc_u_admin_chat.js CHANGED
@@ -182,8 +182,8 @@ function wplc_loop_response_handler(response){
182
 
183
  if(message_content !== ""){
184
  var concatenated_message = "<span class='" + message_class + "'>";
185
- concatenated_message += message_grav;
186
- concatenated_message += message_from;
187
  concatenated_message += message_content;
188
  concatenated_message += "</span>";
189
 
182
 
183
  if(message_content !== ""){
184
  var concatenated_message = "<span class='" + message_class + "'>";
185
+ // concatenated_message += message_grav;
186
+ // concatenated_message += message_from;
187
  concatenated_message += message_content;
188
  concatenated_message += "</span>";
189
 
readme.txt CHANGED
@@ -35,7 +35,6 @@ The most cost effective Live Chat plugin. Chat with your visitors for free! WP L
35
  * Create a custom offline message form when you're not online
36
  * No advertising or links
37
  * Add surveys or polls to your chat box, before or after a chat session
38
- * Quick Responses (insert a predefined response to your live chat box)
39
  * Anonymity for your visitors
40
  * No "Powered by" links on the live chat window
41
  * No monthly live chat subscriptions needed
@@ -48,7 +47,6 @@ The most cost effective Live Chat plugin. Chat with your visitors for free! WP L
48
  * Comprehensive list of live chat options
49
  * Enable/Disable the chat box on mobile devices
50
  * Enable/Disable the sound when a new live chat message is received
51
- * Select whether Name and Email is required when users initiate a chat
52
  * Ban visitors from chatting to you based on IP Address
53
  * Allow the live chat box to automatically pop up
54
  * Limit the live chat box to only show to registered users
@@ -222,7 +220,11 @@ It is highly recommended that you upgrade to WP Live Chat Support version 4.4.0
222
 
223
  == Changelog ==
224
 
225
- = 7.0.02 - 2017-01-26 - High priority =
 
 
 
 
226
  * PHPMailer vulnerability patch (removed our version of PHPMailer and are now using WP's built-in version)
227
  * Added the ability for plugin users to subscribe to our mailing list
228
 
35
  * Create a custom offline message form when you're not online
36
  * No advertising or links
37
  * Add surveys or polls to your chat box, before or after a chat session
 
38
  * Anonymity for your visitors
39
  * No "Powered by" links on the live chat window
40
  * No monthly live chat subscriptions needed
47
  * Comprehensive list of live chat options
48
  * Enable/Disable the chat box on mobile devices
49
  * Enable/Disable the sound when a new live chat message is received
 
50
  * Ban visitors from chatting to you based on IP Address
51
  * Allow the live chat box to automatically pop up
52
  * Limit the live chat box to only show to registered users
220
 
221
  == Changelog ==
222
 
223
+ = 7.0.03 - 2017-02-06 =
224
+ * Fixed a bug that caused the name of the agent to disappear after refreshing the page
225
+ * Fixed a bug that caused the agent name to display twice in the chat window
226
+
227
+ = 7.0.02 - 2017-01-26 - High priority =
228
  * PHPMailer vulnerability patch (removed our version of PHPMailer and are now using WP's built-in version)
229
  * Added the ability for plugin users to subscribe to our mailing list
230
 
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. No third party connection required!
6
- Version: 7.0.02
7
  Author: WP-LiveChat
8
  Author URI: http://www.wp-livechat.com
9
  Text Domain: wplivechat
@@ -11,6 +11,10 @@
11
  */
12
 
13
  /*
 
 
 
 
14
  * 7.0.02 - 2017-01-26 - High priority
15
  * PHPMailer vulnerability patch (removed our version of PHPMailer and are now using WP's built-in version)
16
  * Added the ability for plugin users to subscribe to our mailing list
@@ -473,7 +477,7 @@ global $wplc_tblname_offline_msgs;
473
  $wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
474
  $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
475
  $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
476
- $wplc_version = "7.0.02";
477
 
478
  define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
479
  define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");
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. No third party connection required!
6
+ Version: 7.0.03
7
  Author: WP-LiveChat
8
  Author URI: http://www.wp-livechat.com
9
  Text Domain: wplivechat
11
  */
12
 
13
  /*
14
+ * 7.0.03 - 2017-02-06
15
+ * Fixed a bug that caused the name of the agent to disappear after refreshing the page
16
+ * Fixed a bug that caused the agent name to display twice in the chat window
17
+ *
18
  * 7.0.02 - 2017-01-26 - High priority
19
  * PHPMailer vulnerability patch (removed our version of PHPMailer and are now using WP's built-in version)
20
  * Added the ability for plugin users to subscribe to our mailing list
477
  $wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
478
  $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
479
  $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
480
+ $wplc_version = "7.0.03";
481
 
482
  define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
483
  define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");