WhatsApp Chat WP - Version 4.5.9

Version Description

Hello! We've recently acquired this plugin and included tons of new features.

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WhatsApp Chat WP
Version 4.5.9
Comparing to
See all releases

Code changes from version 4.5.8 to 4.5.9

changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 4.5.8 =
2
  * Fix. small css issues
3
 
1
+ = 4.5.9 =
2
+ * Fix. small css issues
3
+
4
  = 4.5.8 =
5
  * Fix. small css issues
6
 
includes/view/backend/pages/parts/header.php CHANGED
@@ -37,7 +37,7 @@ if (isset($submenu[QLWAPP_DOMAIN])) {
37
  if (strpos($tab[2], '.php') !== false)
38
  continue;
39
  ?>
40
- <a href="<?php echo admin_url('admin.php?page=' . esc_attr($tab[2])); ?>" class="nav-tab<?php echo (isset($_GET['page']) && $_GET['page'] == $tab[2]) ? ' nav-tab-active' : ''; ?>"><?php echo esc_html($tab[0]); ?></a>
41
  <?php
42
  }
43
  ?>
37
  if (strpos($tab[2], '.php') !== false)
38
  continue;
39
  ?>
40
+ <a href="<?php echo admin_url('admin.php?page=' . esc_attr($tab[2])); ?>" class="nav-tab<?php echo (isset($_GET['page']) && $_GET['page'] == $tab[2]) ? ' nav-tab-active' : ''; ?>"><?php echo wp_kses_post($tab[0]); ?></a>
41
  <?php
42
  }
43
  ?>
includes/view/backend/pages/premium.php CHANGED
@@ -11,19 +11,19 @@
11
  <a style="background-color: #ffffff;color: #626262;text-decoration: none;padding: 10px 30px;border-radius: 30px;margin: 10px 0 0 0;display: inline-block;" target="_blank" href="<?php echo esc_url(QLWAPP_SUPPORT_URL); ?>"><?php esc_html_e('Get Support', 'wp-whatsapp-chat'); ?></a>
12
  </div>
13
  <hr/>
14
- <div class="feature-section">
15
  <h3><?php esc_html_e('Multiple agents', 'wp-whatsapp-chat'); ?></h3>
16
  <p>
17
  <?php printf(esc_html__('%s allows you to include unlimited agent accounts with their names and labels inside the box to provide direct contact to the different support areas of your site.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
18
  </p>
19
  </div>
20
- <div class="feature-section">
21
  <h3><?php esc_html_e('Customize colors', 'wp-whatsapp-chat'); ?></h3>
22
  <p>
23
  <?php esc_html_e('Customize the colors to match your site theme through the WordPress live customizer interface.', 'wp-whatsapp-chat'); ?>
24
  </p>
25
  </div>
26
- <div class="feature-section">
27
  <h3><?php esc_html_e('Custom icons', 'wp-whatsapp-chat'); ?></h3>
28
  <p>
29
  <?php esc_html_e('Our plugin allows you to select between more than forty icons to include in your Whatsapp button.', 'wp-whatsapp-chat'); ?>
@@ -50,19 +50,19 @@
50
  </div>
51
  </div>
52
  <hr/>
53
- <div class="feature-section">
54
  <h3><?php esc_html_e('Custom agent message', 'wp-whatsapp-chat'); ?></h3>
55
  <p>
56
  <?php esc_html_e('Allow you to set a custom message for each agent that will be displayed on the chatbox.', 'wp-whatsapp-chat'); ?>
57
  </p>
58
  </div>
59
- <div class="feature-section">
60
  <h3><?php esc_html_e('Custom user message', 'wp-whatsapp-chat'); ?></h3>
61
  <p>
62
  <?php esc_html_e('You can choose the predefined user message that will be sent to the agent phone number.', 'wp-whatsapp-chat'); ?>
63
  </p>
64
  </div>
65
- <div class="feature-section">
66
  <h3><?php esc_html_e('Type user message', 'wp-whatsapp-chat'); ?></h3>
67
  <p>
68
  <?php esc_html_e('Allow your users to type their own messages before sending it to the agent phone number.', 'wp-whatsapp-chat'); ?>
11
  <a style="background-color: #ffffff;color: #626262;text-decoration: none;padding: 10px 30px;border-radius: 30px;margin: 10px 0 0 0;display: inline-block;" target="_blank" href="<?php echo esc_url(QLWAPP_SUPPORT_URL); ?>"><?php esc_html_e('Get Support', 'wp-whatsapp-chat'); ?></a>
12
  </div>
13
  <hr/>
14
+ <div class="feature-section" style="margin: 15px 0;">
15
  <h3><?php esc_html_e('Multiple agents', 'wp-whatsapp-chat'); ?></h3>
16
  <p>
17
  <?php printf(esc_html__('%s allows you to include unlimited agent accounts with their names and labels inside the box to provide direct contact to the different support areas of your site.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
18
  </p>
19
  </div>
20
+ <div class="feature-section" style="margin: 15px 0;">
21
  <h3><?php esc_html_e('Customize colors', 'wp-whatsapp-chat'); ?></h3>
22
  <p>
23
  <?php esc_html_e('Customize the colors to match your site theme through the WordPress live customizer interface.', 'wp-whatsapp-chat'); ?>
24
  </p>
25
  </div>
26
+ <div class="feature-section" style="margin: 15px 0;">
27
  <h3><?php esc_html_e('Custom icons', 'wp-whatsapp-chat'); ?></h3>
28
  <p>
29
  <?php esc_html_e('Our plugin allows you to select between more than forty icons to include in your Whatsapp button.', 'wp-whatsapp-chat'); ?>
50
  </div>
51
  </div>
52
  <hr/>
53
+ <div class="feature-section" style="margin: 15px 0;">
54
  <h3><?php esc_html_e('Custom agent message', 'wp-whatsapp-chat'); ?></h3>
55
  <p>
56
  <?php esc_html_e('Allow you to set a custom message for each agent that will be displayed on the chatbox.', 'wp-whatsapp-chat'); ?>
57
  </p>
58
  </div>
59
+ <div class="feature-section" style="margin: 15px 0;">
60
  <h3><?php esc_html_e('Custom user message', 'wp-whatsapp-chat'); ?></h3>
61
  <p>
62
  <?php esc_html_e('You can choose the predefined user message that will be sent to the agent phone number.', 'wp-whatsapp-chat'); ?>
63
  </p>
64
  </div>
65
+ <div class="feature-section" style="margin: 15px 0;">
66
  <h3><?php esc_html_e('Type user message', 'wp-whatsapp-chat'); ?></h3>
67
  <p>
68
  <?php esc_html_e('Allow your users to type their own messages before sending it to the agent phone number.', 'wp-whatsapp-chat'); ?>
includes/view/backend/pages/welcome.php CHANGED
@@ -1,28 +1,28 @@
1
  <div class="wrap about-wrap full-width-layout qlwrap">
2
  <div class="has-2-columns is-wider-left" style="max-width: 100%">
3
  <div class="column">
4
- <div class="qlwapp-welcome-header">
5
  <h1><?php echo QLWAPP_PLUGIN_NAME; ?> <span style="font-size: 24px;color: #555;">v<?php echo QLWAPP_PLUGIN_VERSION; ?></span></h1>
6
- <div class="about-text">
7
  <?php esc_html_e('Hello we\'re QuadLayers! We\'ve recently acquired this plugin and this is the first update. We have worked very much and very hard to release it, and we will do our absolute best to support it and fix all the issues.', 'wp-whatsapp-chat'); ?>
8
  </div>
9
  </div>
10
  <hr/>
11
- <div class="feature-section" style="padding: 15px 0;">
12
  <h3><?php esc_html_e('Community', 'wp-whatsapp-chat'); ?></h3>
13
  <p>
14
  <?php printf(esc_html__('If you want to get in touch with other %s users or be aware of our promotional discounts join our community now.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
15
  </p>
16
  <a style="background-color: #ffffff;color: #626262;text-decoration: none;padding: 10px 30px;border-radius: 30px;margin: 10px 0 0 0;display: inline-block;" target="_blank" href="<?php echo QLWAPP_GROUP_URL; ?>"><?php esc_html_e('Join us', 'wp-whatsapp-chat'); ?></a>
17
  </div>
18
- <div class="feature-section" style="padding: 15px 0;">
19
  <h3><?php esc_html_e('Demo', 'wp-whatsapp-chat'); ?></h3>
20
  <p>
21
  <?php printf(esc_html__('Thank you for choosing our %s plugin for WordPress! Here you can see our demo and a description about the features we offer in the premium version.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
22
  </p>
23
  <a style="background-color: #006cff;color: #ffffff;text-decoration: none;padding: 10px 30px;border-radius: 30px;margin: 10px 0 0 0;display: inline-block;" target="_blank" href="<?php echo QLWAPP_DEMO_URL; ?>"><?php esc_html_e('View demo', 'wp-whatsapp-chat'); ?></a>
24
  </div>
25
- <div class="feature-section" style="padding: 15px 0;">
26
  <h3><?php esc_html_e('Support', 'wp-whatsapp-chat'); ?></h3>
27
  <p>
28
  <?php printf(esc_html__('If you have any doubt or you find any issue don\'t hesitate to contact us through our ticket system or join our community to meet other %s users.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
1
  <div class="wrap about-wrap full-width-layout qlwrap">
2
  <div class="has-2-columns is-wider-left" style="max-width: 100%">
3
  <div class="column">
4
+ <div class="welcome-header">
5
  <h1><?php echo QLWAPP_PLUGIN_NAME; ?> <span style="font-size: 24px;color: #555;">v<?php echo QLWAPP_PLUGIN_VERSION; ?></span></h1>
6
+ <div class="about-description">
7
  <?php esc_html_e('Hello we\'re QuadLayers! We\'ve recently acquired this plugin and this is the first update. We have worked very much and very hard to release it, and we will do our absolute best to support it and fix all the issues.', 'wp-whatsapp-chat'); ?>
8
  </div>
9
  </div>
10
  <hr/>
11
+ <div class="feature-section" style="margin: 15px 0;">
12
  <h3><?php esc_html_e('Community', 'wp-whatsapp-chat'); ?></h3>
13
  <p>
14
  <?php printf(esc_html__('If you want to get in touch with other %s users or be aware of our promotional discounts join our community now.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
15
  </p>
16
  <a style="background-color: #ffffff;color: #626262;text-decoration: none;padding: 10px 30px;border-radius: 30px;margin: 10px 0 0 0;display: inline-block;" target="_blank" href="<?php echo QLWAPP_GROUP_URL; ?>"><?php esc_html_e('Join us', 'wp-whatsapp-chat'); ?></a>
17
  </div>
18
+ <div class="feature-section" style="margin: 15px 0;">
19
  <h3><?php esc_html_e('Demo', 'wp-whatsapp-chat'); ?></h3>
20
  <p>
21
  <?php printf(esc_html__('Thank you for choosing our %s plugin for WordPress! Here you can see our demo and a description about the features we offer in the premium version.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
22
  </p>
23
  <a style="background-color: #006cff;color: #ffffff;text-decoration: none;padding: 10px 30px;border-radius: 30px;margin: 10px 0 0 0;display: inline-block;" target="_blank" href="<?php echo QLWAPP_DEMO_URL; ?>"><?php esc_html_e('View demo', 'wp-whatsapp-chat'); ?></a>
24
  </div>
25
+ <div class="feature-section" style="margin: 15px 0;">
26
  <h3><?php esc_html_e('Support', 'wp-whatsapp-chat'); ?></h3>
27
  <p>
28
  <?php printf(esc_html__('If you have any doubt or you find any issue don\'t hesitate to contact us through our ticket system or join our community to meet other %s users.', 'wp-whatsapp-chat'), QLWAPP_PLUGIN_NAME); ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
4
  Tags: whatsapp, whatsapp chat, whatsapp business, whatsapp support, click to chat, whatsapp group, directly message whatsapp, floating whatsapp, whatsapp message, help desk
5
  Requires at least: 3.0
6
  Tested up to: 5.3
7
- Stable tag: 4.5.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: whatsapp, whatsapp chat, whatsapp business, whatsapp support, click to chat, whatsapp group, directly message whatsapp, floating whatsapp, whatsapp message, help desk
5
  Requires at least: 3.0
6
  Tested up to: 5.3
7
+ Stable tag: 4.5.9
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
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPL-2.0+
@@ -15,45 +15,20 @@
15
  if (!defined('ABSPATH')) {
16
  die('-1');
17
  }
18
- 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.8');
23
- }
24
- if (!defined('QLWAPP_PLUGIN_FILE')) {
25
- define('QLWAPP_PLUGIN_FILE', __FILE__);
26
- }
27
- if (!defined('QLWAPP_PLUGIN_DIR')) {
28
- define('QLWAPP_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR);
29
- }
30
- if (!defined('QLWAPP_PREFIX')) {
31
- define('QLWAPP_PREFIX', 'qlwapp');
32
- }
33
- if (!defined('QLWAPP_DOMAIN')) {
34
- define('QLWAPP_DOMAIN', QLWAPP_PREFIX);
35
- }
36
- if (!defined('QLWAPP_WORDPRESS_URL')) {
37
- define('QLWAPP_WORDPRESS_URL', 'https://wordpress.org/plugins/wp-whatsapp-chat/');
38
- }
39
- if (!defined('QLWAPP_REVIEW_URL')) {
40
- define('QLWAPP_REVIEW_URL', 'https://wordpress.org/support/plugin/woocommerce-checkout-manager/reviews/?filter=5#new-post');
41
- }
42
- if (!defined('QLWAPP_DEMO_URL')) {
43
- define('QLWAPP_DEMO_URL', 'https://quadlayers.com/portfolio/wordpress-whatsapp-chat/?utm_source=qlwapp_admin');
44
- }
45
- if (!defined('QLWAPP_PURCHASE_URL')) {
46
- define('QLWAPP_PURCHASE_URL', QLWAPP_DEMO_URL);
47
- }
48
- if (!defined('QLWAPP_SUPPORT_URL')) {
49
- define('QLWAPP_SUPPORT_URL', 'https://quadlayers.com/account/support/?utm_source=qlwapp_admin');
50
- }
51
- if (!defined('QLWAPP_DOCUMENTATION_URL')) {
52
- define('QLWAPP_DOCUMENTATION_URL', 'https://quadlayers.com/documentation/whatsapp-chat/?utm_source=qlwapp_admin');
53
- }
54
- if (!defined('QLWAPP_GROUP_URL')) {
55
- define('QLWAPP_GROUP_URL', 'https://www.facebook.com/groups/quadlayers');
56
- }
57
 
58
  if (!class_exists('QLWAPP')) {
59
  include_once( QLWAPP_PLUGIN_DIR . 'includes/qlwapp.php' );
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.9
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPL-2.0+
15
  if (!defined('ABSPATH')) {
16
  die('-1');
17
  }
18
+
19
+ define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
20
+ define('QLWAPP_PLUGIN_VERSION', '4.5.9');
21
+ define('QLWAPP_PLUGIN_FILE', __FILE__);
22
+ define('QLWAPP_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR);
23
+ define('QLWAPP_PREFIX', 'qlwapp');
24
+ define('QLWAPP_DOMAIN', QLWAPP_PREFIX);
25
+ define('QLWAPP_WORDPRESS_URL', 'https://wordpress.org/plugins/wp-whatsapp-chat/');
26
+ define('QLWAPP_REVIEW_URL', 'https://wordpress.org/support/plugin/woocommerce-checkout-manager/reviews/?filter=5#new-post');
27
+ define('QLWAPP_DEMO_URL', 'https://quadlayers.com/portfolio/wordpress-whatsapp-chat/?utm_source=qlwapp_admin');
28
+ define('QLWAPP_PURCHASE_URL', QLWAPP_DEMO_URL);
29
+ define('QLWAPP_SUPPORT_URL', 'https://quadlayers.com/account/support/?utm_source=qlwapp_admin');
30
+ define('QLWAPP_DOCUMENTATION_URL', 'https://quadlayers.com/documentation/whatsapp-chat/?utm_source=qlwapp_admin');
31
+ define('QLWAPP_GROUP_URL', 'https://www.facebook.com/groups/quadlayers');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  if (!class_exists('QLWAPP')) {
34
  include_once( QLWAPP_PLUGIN_DIR . 'includes/qlwapp.php' );