WP Live Chat Support - Version 6.2.07

Version Description

  • 2016-09-15 - Medium priority =
  • Fixed a bug that caused a fatal error on older PHP version
Download this release

Release Info

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

Code changes from version 6.2.06 to 6.2.07

modules/api/wplc-api-routes.php CHANGED
@@ -6,7 +6,9 @@
6
  * Add the following routes:
7
  * - '/wp_live_chat_support/v1/accept_chat'
8
  */
9
- add_action('rest_api_init', function(){
 
 
10
  register_rest_route('wp_live_chat_support/v1','/accept_chat', array(
11
  'methods' => 'GET, POST',
12
  'callback' => 'wplc_api_accept_chat'
@@ -38,4 +40,4 @@ add_action('rest_api_init', function(){
38
  ));
39
 
40
  do_action("wplc_api_route_hook");
41
- });
6
  * Add the following routes:
7
  * - '/wp_live_chat_support/v1/accept_chat'
8
  */
9
+ add_action('rest_api_init', 'wplc_rest_routes_init');
10
+
11
+ function wplc_rest_routes_init() {
12
  register_rest_route('wp_live_chat_support/v1','/accept_chat', array(
13
  'methods' => 'GET, POST',
14
  'callback' => 'wplc_api_accept_chat'
40
  ));
41
 
42
  do_action("wplc_api_route_hook");
43
+ }
readme.txt CHANGED
@@ -198,8 +198,6 @@ If the live chat box still does not appear on your website, please go through th
198
  3. Settings page of WP Live Chat Support
199
  4. "Leave a message" functionality available in WP Live Chat Support
200
  5. Initiate a live chat with a visitor on your website (extension required)
201
- 6. Use our REST api to extend your chat functionality even further
202
- 7. Customize every aspect of your live chat box
203
 
204
 
205
  == Upgrade Notice ==
@@ -215,6 +213,9 @@ It is highly recommended that you upgrade to WP Live Chat Support version 4.4.0
215
 
216
  == Changelog ==
217
 
 
 
 
218
  = 6.2.06 - 2016-09-15 - Medium priority =
219
  * Added Rest API functionality (Accept chat, end chat, get messages, send message, get sessions)
220
  * Added 'Device' type logging to live chat dashboard area.
198
  3. Settings page of WP Live Chat Support
199
  4. "Leave a message" functionality available in WP Live Chat Support
200
  5. Initiate a live chat with a visitor on your website (extension required)
 
 
201
 
202
 
203
  == Upgrade Notice ==
213
 
214
  == Changelog ==
215
 
216
+ = 6.2.07 - 2016-09-15 - Medium priority =
217
+ * Fixed a bug that caused a fatal error on older PHP version
218
+
219
  = 6.2.06 - 2016-09-15 - Medium priority =
220
  * Added Rest API functionality (Accept chat, end chat, get messages, send message, get sessions)
221
  * Added 'Device' type logging to live chat dashboard area.
wp-live-chat-support.php CHANGED
@@ -3,14 +3,18 @@
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: 6.2.06
7
  Author: WP-LiveChat
8
  Author URI: http://www.wp-livechat.com
9
  Text Domain: wplivechat
10
  Domain Path: /languages
11
  */
12
 
13
- /* 6.2.06 - 2016-09-14 - Medium Priority
 
 
 
 
14
  * Added Rest API functionality (Accept chat, end chat, get messages, send message, get sessions)
15
  * Added 'Device' type logging to live chat dashboard area.
16
  * Minified User Side JavaScript
@@ -414,7 +418,7 @@ global $wplc_tblname_offline_msgs;
414
  $wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
415
  $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
416
  $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
417
- $wplc_version = "6.2.06";
418
 
419
  define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
420
  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: 6.2.07
7
  Author: WP-LiveChat
8
  Author URI: http://www.wp-livechat.com
9
  Text Domain: wplivechat
10
  Domain Path: /languages
11
  */
12
 
13
+ /*
14
+ * 6.2.07 - 2016-09-15 - Medium priority
15
+ * Fixed a bug that caused a fatal error on older PHP version
16
+ *
17
+ * 6.2.06 - 2016-09-14 - Medium Priority
18
  * Added Rest API functionality (Accept chat, end chat, get messages, send message, get sessions)
19
  * Added 'Device' type logging to live chat dashboard area.
20
  * Minified User Side JavaScript
418
  $wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
419
  $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
420
  $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
421
+ $wplc_version = "6.2.07";
422
 
423
  define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
424
  define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");