Version Description
Hello! We've recently acquired this plugin and included tons of new features.
Download this release
Release Info
Developer | quadlayers |
Plugin | WhatsApp Chat WP |
Version | 4.5.3 |
Comparing to | |
See all releases |
Code changes from version 4.5.2 to 4.5.3
- changelog.txt +4 -0
- includes/models/Contact.php +6 -2
- includes/settings.php +1 -1
- readme.txt +2 -2
- wp-whatsapp-chat.php +2 -2
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 4.5.2 =
|
2 |
* Fix. include full path
|
3 |
|
1 |
+
= 4.5.3 =
|
2 |
+
* Fix. message not saving
|
3 |
+
* Fix. undefined order, timeto, timeout
|
4 |
+
|
5 |
= 4.5.2 =
|
6 |
* Fix. include full path
|
7 |
|
includes/models/Contact.php
CHANGED
@@ -35,13 +35,13 @@ class QLWAPP_Contact extends QLWAPP_Model {
|
|
35 |
return 0;
|
36 |
}
|
37 |
|
38 |
-
function add_contact($contact_data) {
|
39 |
$contact_data['id'] = $this->get_next_id();
|
40 |
$contact_data['order'] = count($this->get_contacts()) + 1;
|
41 |
return $this->save($contact_data);
|
42 |
}
|
43 |
|
44 |
-
function update_contact($contact_data) {
|
45 |
return $this->save($contact_data);
|
46 |
}
|
47 |
|
@@ -112,6 +112,10 @@ class QLWAPP_Contact extends QLWAPP_Model {
|
|
112 |
$default[0] = $this->get_args();
|
113 |
$default[0]['id'] = 0;
|
114 |
$result = $default;
|
|
|
|
|
|
|
|
|
115 |
}
|
116 |
return $result;
|
117 |
}
|
35 |
return 0;
|
36 |
}
|
37 |
|
38 |
+
function add_contact($contact_data) {
|
39 |
$contact_data['id'] = $this->get_next_id();
|
40 |
$contact_data['order'] = count($this->get_contacts()) + 1;
|
41 |
return $this->save($contact_data);
|
42 |
}
|
43 |
|
44 |
+
function update_contact($contact_data) {
|
45 |
return $this->save($contact_data);
|
46 |
}
|
47 |
|
112 |
$default[0] = $this->get_args();
|
113 |
$default[0]['id'] = 0;
|
114 |
$result = $default;
|
115 |
+
} else {
|
116 |
+
foreach ($result as $id => $c) {
|
117 |
+
$result[$id] = wp_parse_args($c, $this->get_args());
|
118 |
+
}
|
119 |
}
|
120 |
return $result;
|
121 |
}
|
includes/settings.php
CHANGED
@@ -89,7 +89,7 @@ class QLWAPP_Settings {
|
|
89 |
if (isset($qlwapp['chat']['response']) && !isset($qlwapp['box']['response'])) {
|
90 |
$qlwapp['box']['response'] = $qlwapp['chat']['response'];
|
91 |
}
|
92 |
-
if (isset($qlwapp['user']['message'])) {
|
93 |
$qlwapp['button']['message'] = $qlwapp['user']['message'];
|
94 |
}
|
95 |
if (isset($qlwapp['button']['rounded']) && $qlwapp['button']['rounded'] == 1) {
|
89 |
if (isset($qlwapp['chat']['response']) && !isset($qlwapp['box']['response'])) {
|
90 |
$qlwapp['box']['response'] = $qlwapp['chat']['response'];
|
91 |
}
|
92 |
+
if (isset($qlwapp['user']['message']) && !isset($qlwapp['button']['message'])) {
|
93 |
$qlwapp['button']['message'] = $qlwapp['user']['message'];
|
94 |
}
|
95 |
if (isset($qlwapp['button']['rounded']) && $qlwapp['button']['rounded'] == 1) {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: quadlayers
|
|
3 |
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.
|
7 |
-
Stable tag: 4.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
3 |
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.3.0
|
7 |
+
Stable tag: 4.5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
wp-whatsapp-chat.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: WhatsApp Chat
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
6 |
* Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
7 |
-
* Version: 4.5.
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPL-2.0+
|
@@ -19,7 +19,7 @@ if (!defined('QLWAPP_PLUGIN_NAME')) {
|
|
19 |
define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
|
20 |
}
|
21 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
22 |
-
define('QLWAPP_PLUGIN_VERSION', '4.5.
|
23 |
}
|
24 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
25 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|
4 |
* Plugin Name: WhatsApp Chat
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
6 |
* Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
7 |
+
* Version: 4.5.3
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPL-2.0+
|
19 |
define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
|
20 |
}
|
21 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
22 |
+
define('QLWAPP_PLUGIN_VERSION', '4.5.3');
|
23 |
}
|
24 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
25 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|