Version Description
Hello! We've recently acquired this plugin and included tons of new features.
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 4.4.8 |
| Comparing to | |
| See all releases | |
Code changes from version 4.4.7 to 4.4.8
- changelog.txt +3 -0
- readme.txt +1 -1
- wp-whatsapp-chat.php +12 -13
changelog.txt
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
= 4.4.7 =
|
| 2 |
* Improvement. button timeout readonly
|
| 3 |
* Improvement. button timeout available hours
|
| 1 |
+
= 4.4.8 =
|
| 2 |
+
* Fix. remove rating request non admin users
|
| 3 |
+
|
| 4 |
= 4.4.7 =
|
| 5 |
* Improvement. button timeout readonly
|
| 6 |
* Improvement. button timeout available hours
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
|
| 4 |
Tags: whatsapp, whatsapp button, whatsapp chat, whatsapp support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp business, messaging, help desk
|
| 5 |
Requires at least: 4.6
|
| 6 |
Tested up to: 5.2.2
|
| 7 |
-
Stable tag: 4.4.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 4 |
Tags: whatsapp, whatsapp button, whatsapp chat, whatsapp support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp business, messaging, help desk
|
| 5 |
Requires at least: 4.6
|
| 6 |
Tested up to: 5.2.2
|
| 7 |
+
Stable tag: 4.4.8
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
wp-whatsapp-chat.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: WhatsApp Chat
|
| 4 |
* Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
| 5 |
* Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
| 6 |
-
* Version: 4.4.
|
| 7 |
* Author: QuadLayers
|
| 8 |
* Author URI: https://quadlayers.com
|
| 9 |
* License: GPL-2.0+
|
|
@@ -18,7 +18,7 @@ if (!defined('QLWAPP_PLUGIN_NAME')) {
|
|
| 18 |
define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
|
| 19 |
}
|
| 20 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
| 21 |
-
define('QLWAPP_PLUGIN_VERSION', '4.4.
|
| 22 |
}
|
| 23 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
| 24 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|
|
@@ -58,18 +58,16 @@ if (!class_exists('QLWAPP')) {
|
|
| 58 |
protected static $instance;
|
| 59 |
|
| 60 |
function ajax_dismiss_notice() {
|
| 61 |
-
if (current_user_can('manage_options')) {
|
| 62 |
|
| 63 |
-
|
| 64 |
|
| 65 |
-
|
| 66 |
|
| 67 |
-
|
| 68 |
|
| 69 |
-
|
| 70 |
-
}
|
| 71 |
-
}
|
| 72 |
}
|
|
|
|
| 73 |
wp_die();
|
| 74 |
}
|
| 75 |
|
|
@@ -127,11 +125,12 @@ if (!class_exists('QLWAPP')) {
|
|
| 127 |
include_once('includes/settings.php');
|
| 128 |
}
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
}
|
|
|
|
| 135 |
function languages() {
|
| 136 |
load_plugin_textdomain('wp-whatsapp-chat', false, dirname(plugin_basename(__FILE__)) . '/languages/');
|
| 137 |
}
|
| 3 |
* Plugin Name: WhatsApp Chat
|
| 4 |
* Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
| 5 |
* Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
| 6 |
+
* Version: 4.4.8
|
| 7 |
* Author: QuadLayers
|
| 8 |
* Author URI: https://quadlayers.com
|
| 9 |
* License: GPL-2.0+
|
| 18 |
define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
|
| 19 |
}
|
| 20 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
| 21 |
+
define('QLWAPP_PLUGIN_VERSION', '4.4.8');
|
| 22 |
}
|
| 23 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
| 24 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|
| 58 |
protected static $instance;
|
| 59 |
|
| 60 |
function ajax_dismiss_notice() {
|
|
|
|
| 61 |
|
| 62 |
+
if (check_admin_referer('qlwapp_dismiss_notice', 'nonce') && isset($_REQUEST['notice_id'])) {
|
| 63 |
|
| 64 |
+
$notice_id = sanitize_key($_REQUEST['notice_id']);
|
| 65 |
|
| 66 |
+
update_user_meta(get_current_user_id(), $notice_id, true);
|
| 67 |
|
| 68 |
+
wp_send_json($notice_id);
|
|
|
|
|
|
|
| 69 |
}
|
| 70 |
+
|
| 71 |
wp_die();
|
| 72 |
}
|
| 73 |
|
| 125 |
include_once('includes/settings.php');
|
| 126 |
}
|
| 127 |
|
| 128 |
+
public static function is_min() {
|
| 129 |
+
if (!defined('SCRIPT_DEBUG') || !SCRIPT_DEBUG) {
|
| 130 |
+
return '.min';
|
| 131 |
+
}
|
| 132 |
}
|
| 133 |
+
|
| 134 |
function languages() {
|
| 135 |
load_plugin_textdomain('wp-whatsapp-chat', false, dirname(plugin_basename(__FILE__)) . '/languages/');
|
| 136 |
}
|
