Version Description
- 2016-02-23 - Medium priority =
- Fixed the bug that caused the menu item to not display for some users
Download this release
Release Info
Developer | WP-LiveChat |
Plugin | WP Live Chat Support |
Version | 6.0.05 |
Comparing to | |
See all releases |
Code changes from version 6.0.04 to 6.0.05
- readme.txt +6 -0
- wp-live-chat-support.php +12 -8
readme.txt
CHANGED
@@ -223,6 +223,12 @@ It is highly recommended that you upgrade to WP Live Chat Support version 4.1.4
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
= 6.0.04 - 2016-02-22 - Low priority =
|
227 |
* Offline message bug fix with the cloud server extension
|
228 |
* Choose when online bug fix
|
223 |
|
224 |
== Changelog ==
|
225 |
|
226 |
+
= 6.0.06 - 2016-03-07 - Medium priority =
|
227 |
+
* More stable fix for the menu item bug that has been experienced lately
|
228 |
+
|
229 |
+
= 6.0.05 - 2016-02-23 - Medium priority =
|
230 |
+
* Fixed the bug that caused the menu item to not display for some users
|
231 |
+
|
232 |
= 6.0.04 - 2016-02-22 - Low priority =
|
233 |
* Offline message bug fix with the cloud server extension
|
234 |
* Choose when online bug fix
|
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: 6.0.
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
Text Domain: wplivechat
|
@@ -11,6 +11,9 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
|
|
|
|
|
|
14 |
* 6.0.04 - 2016-02-16 - Low priority
|
15 |
* Offline message bug fix with the cloud server extension
|
16 |
* Choose when online bug fix
|
@@ -323,7 +326,7 @@ global $wplc_tblname_offline_msgs;
|
|
323 |
$wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
|
324 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
325 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
326 |
-
$wplc_version = "6.0.
|
327 |
|
328 |
define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
|
329 |
define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");
|
@@ -388,14 +391,14 @@ function wplc_version_control() {
|
|
388 |
$current_version = get_option("wplc_current_version");
|
389 |
if (!isset($current_version) || $current_version != $wplc_version) {
|
390 |
|
391 |
-
|
392 |
-
//
|
393 |
// $admins->add_cap('wplc_ma_agent');
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
|
398 |
-
|
399 |
|
400 |
foreach( $wplc_super_admins as $super_admin ){
|
401 |
|
@@ -409,6 +412,7 @@ function wplc_version_control() {
|
|
409 |
break;
|
410 |
|
411 |
}
|
|
|
412 |
|
413 |
|
414 |
$wplc_settings = get_option("WPLC_SETTINGS");
|
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.0.05
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
Text Domain: wplivechat
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* 6.0.05 - 2016-02-23 - Medium priority
|
15 |
+
* Fixed the bug that caused the menu item to not display for some users
|
16 |
+
*
|
17 |
* 6.0.04 - 2016-02-16 - Low priority
|
18 |
* Offline message bug fix with the cloud server extension
|
19 |
* Choose when online bug fix
|
326 |
$wplc_tblname_offline_msgs = $wpdb->prefix . "wplc_offline_messages";
|
327 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
328 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
329 |
+
$wplc_version = "6.0.05";
|
330 |
|
331 |
define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
|
332 |
define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");
|
391 |
$current_version = get_option("wplc_current_version");
|
392 |
if (!isset($current_version) || $current_version != $wplc_version) {
|
393 |
|
394 |
+
|
395 |
+
//admins = get_role('administrator');
|
396 |
// $admins->add_cap('wplc_ma_agent');
|
397 |
+
$uid = get_current_user_id();
|
398 |
+
update_user_meta($uid, 'wplc_ma_agent', 1);
|
399 |
+
update_user_meta($uid, "wplc_chat_agent_online", time());
|
400 |
|
401 |
+
/*$wplc_super_admins = get_super_admins();
|
402 |
|
403 |
foreach( $wplc_super_admins as $super_admin ){
|
404 |
|
412 |
break;
|
413 |
|
414 |
}
|
415 |
+
*/
|
416 |
|
417 |
|
418 |
$wplc_settings = get_option("WPLC_SETTINGS");
|