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.3.6 |
Comparing to | |
See all releases |
Code changes from version 4.3.5 to 4.3.6
- includes/pages/button.php +1 -1
- includes/pages/premium.php +1 -1
- includes/settings.php +7 -7
- readme.txt +3 -3
- wp-whatsapp-chat.php +4 -4
includes/pages/button.php
CHANGED
@@ -39,7 +39,7 @@
|
|
39 |
<th scope="row"><?php esc_html_e('Icon', 'wp-whatsapp-chat'); ?></th>
|
40 |
<td>
|
41 |
<div class="submit qlwapp-premium-field">
|
42 |
-
<?php submit_button(
|
43 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
44 |
</div>
|
45 |
<input type="text" name="<?php echo esc_attr(QLWAPP_DOMAIN); ?>[button][icon]" placeholder="<?php echo esc_html($this->defaults['button']['icon']); ?>" value="<?php echo esc_attr($qlwapp['button']['icon']); ?>" class="qlwapp-input"/>
|
39 |
<th scope="row"><?php esc_html_e('Icon', 'wp-whatsapp-chat'); ?></th>
|
40 |
<td>
|
41 |
<div class="submit qlwapp-premium-field">
|
42 |
+
<?php submit_button(esc_html__('Add Icon', 'wp-whatsapp-chat'), 'secondary', null, false, array('id' => 'btn-add-icon')); ?>
|
43 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
44 |
</div>
|
45 |
<input type="text" name="<?php echo esc_attr(QLWAPP_DOMAIN); ?>[button][icon]" placeholder="<?php echo esc_html($this->defaults['button']['icon']); ?>" value="<?php echo esc_attr($qlwapp['button']['icon']); ?>" class="qlwapp-input"/>
|
includes/pages/premium.php
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
<div class="welcome-header">
|
45 |
<h1><?php esc_html_e('Chatbox interface', 'wp-whatsapp-chat'); ?></h1>
|
46 |
<div class="about-description">
|
47 |
-
<?php
|
48 |
<?php //esc_html_e('Take in mind that this chat dosent allow .', 'wp-whatsapp-chat'); ?>
|
49 |
</div>
|
50 |
</div>
|
44 |
<div class="welcome-header">
|
45 |
<h1><?php esc_html_e('Chatbox interface', 'wp-whatsapp-chat'); ?></h1>
|
46 |
<div class="about-description">
|
47 |
+
<?php printf(esc_html__('%s for WordPress allows you to include a chatbox for each agent where your users can type their first message.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
|
48 |
<?php //esc_html_e('Take in mind that this chat dosent allow .', 'wp-whatsapp-chat'); ?>
|
49 |
</div>
|
50 |
</div>
|
includes/settings.php
CHANGED
@@ -47,13 +47,13 @@ if (!class_exists('QLWAPP_Settings')) {
|
|
47 |
}
|
48 |
|
49 |
function add_menu() {
|
50 |
-
add_menu_page(
|
51 |
-
add_submenu_page(QLWAPP_DOMAIN,
|
52 |
-
add_submenu_page(QLWAPP_DOMAIN,
|
53 |
-
add_submenu_page(QLWAPP_DOMAIN,
|
54 |
-
add_submenu_page(QLWAPP_DOMAIN,
|
55 |
-
add_submenu_page(QLWAPP_DOMAIN,
|
56 |
-
add_submenu_page(QLWAPP_DOMAIN,
|
57 |
}
|
58 |
|
59 |
function settings_header() {
|
47 |
}
|
48 |
|
49 |
function add_menu() {
|
50 |
+
add_menu_page(QLWAPP_PLUGIN_NAME, QLWAPP_PLUGIN_NAME, 'manage_options', QLWAPP_DOMAIN, array($this, 'settings_welcome'), plugins_url('/assets/img/icon.png', QLWAPP_PLUGIN_FILE));
|
51 |
+
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Welcome', 'wp-whatsapp-chat'), esc_html__('Welcome', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN, array($this, 'settings_welcome'));
|
52 |
+
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Button', 'wp-whatsapp-chat'), esc_html__('Button', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN . '_button', array($this, 'settings_button'));
|
53 |
+
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Box', 'wp-whatsapp-chat'), esc_html__('Box', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN . '_box', array($this, 'settings_box'));
|
54 |
+
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Display', 'wp-whatsapp-chat'), esc_html__('Display', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN . '_display', array($this, 'settings_display'));
|
55 |
+
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Colors', 'wp-whatsapp-chat'), esc_html__('Colors', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN . '_colors', array($this, 'settings_colors'));
|
56 |
+
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Premium', 'wp-whatsapp-chat'), sprintf('<i class="dashicons dashicons-awards"></i> %s', esc_html__('Premium', 'wp-whatsapp-chat')), 'edit_posts', QLWAPP_DOMAIN . '_premium', array($this, 'settings_premium'));
|
57 |
}
|
58 |
|
59 |
function settings_header() {
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Social Chat ===
|
2 |
-
Contributors: quadlayers
|
3 |
Donate link: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
4 |
-
Tags: whatsapp, button, chat, support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 4.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
1 |
=== WP Social Chat ===
|
2 |
+
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.2.2
|
7 |
+
Stable tag: 4.3.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
wp-whatsapp-chat.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name:
|
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.3.
|
7 |
* Author: QuadLayers
|
8 |
* Author URI: https://quadlayers.com
|
9 |
* License: GPL-2.0+
|
@@ -15,10 +15,10 @@ if (!defined('ABSPATH')) {
|
|
15 |
die('-1');
|
16 |
}
|
17 |
if (!defined('QLWAPP_PLUGIN_NAME')) {
|
18 |
-
define('QLWAPP_PLUGIN_NAME', '
|
19 |
}
|
20 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
21 |
-
define('QLWAPP_PLUGIN_VERSION', '4.3.
|
22 |
}
|
23 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
24 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|
1 |
<?php
|
2 |
/**
|
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.3.6
|
7 |
* Author: QuadLayers
|
8 |
* Author URI: https://quadlayers.com
|
9 |
* License: GPL-2.0+
|
15 |
die('-1');
|
16 |
}
|
17 |
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.3.6');
|
22 |
}
|
23 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
24 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|