Version Description
- Fix. Elementor compatibility
Download this release
Release Info
Developer | quadlayers |
Plugin | WhatsApp Chat WP |
Version | 6.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 6.2.2
- includes/frontend.php +8 -1
- readme.txt +4 -1
- wp-whatsapp-chat.php +2 -2
includes/frontend.php
CHANGED
@@ -94,6 +94,13 @@ if ( ! class_exists( 'QLWAPP_Frontend' ) ) {
|
|
94 |
}
|
95 |
|
96 |
function display() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
include_once QLWAPP_PLUGIN_DIR . 'includes/models/QLWAPP_Model.php';
|
98 |
include_once QLWAPP_PLUGIN_DIR . 'includes/models/Display.php';
|
99 |
include_once QLWAPP_PLUGIN_DIR . 'includes/controllers/Display_services.php';
|
@@ -101,7 +108,7 @@ if ( ! class_exists( 'QLWAPP_Frontend' ) ) {
|
|
101 |
$display = $display_model->get();
|
102 |
$display_service = new QLWAPP_DisplayServices_Controller();
|
103 |
|
104 |
-
if ( $display_service->is_show_view( $display ) ) {
|
105 |
|
106 |
do_action( 'qlwapp_load' );
|
107 |
}
|
94 |
}
|
95 |
|
96 |
function display() {
|
97 |
+
|
98 |
+
$is_elementor_library = isset( $_GET['post_type'] ) && $_GET['post_type'] === 'elementor_library' && isset( $_GET['render_mode'] ) && $_GET['render_mode'] === 'template-preview';
|
99 |
+
|
100 |
+
if ( $is_elementor_library ) {
|
101 |
+
return;
|
102 |
+
}
|
103 |
+
|
104 |
include_once QLWAPP_PLUGIN_DIR . 'includes/models/QLWAPP_Model.php';
|
105 |
include_once QLWAPP_PLUGIN_DIR . 'includes/models/Display.php';
|
106 |
include_once QLWAPP_PLUGIN_DIR . 'includes/controllers/Display_services.php';
|
108 |
$display = $display_model->get();
|
109 |
$display_service = new QLWAPP_DisplayServices_Controller();
|
110 |
|
111 |
+
if ( ! is_admin() && $display_service->is_show_view( $display ) ) {
|
112 |
|
113 |
do_action( 'qlwapp_load' );
|
114 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: whatsapp, whatsapp business, click to chat, whatsapp chat, woocommerce wha
|
|
5 |
Requires at least: 4.6
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 6.1
|
8 |
-
Stable tag: 6.2.
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -135,6 +135,9 @@ Don't use: +001-(555)1234567
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
138 |
= 6.2.1 =
|
139 |
* Fix. WordPress compatibility
|
140 |
|
5 |
Requires at least: 4.6
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 6.1
|
8 |
+
Stable tag: 6.2.2
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
135 |
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= 6.2.2 =
|
139 |
+
* Fix. Elementor compatibility
|
140 |
+
|
141 |
= 6.2.1 =
|
142 |
* Fix. WordPress compatibility
|
143 |
|
wp-whatsapp-chat.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Social Chat
|
5 |
* Description: Social Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
6 |
* Plugin URI: https://quadlayers.com/portfolio/whatsapp-chat/
|
7 |
-
* Version: 6.2.
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPLv3
|
@@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
18 |
}
|
19 |
|
20 |
define( 'QLWAPP_PLUGIN_NAME', 'Social Chat' );
|
21 |
-
define( 'QLWAPP_PLUGIN_VERSION', '6.2.
|
22 |
define( 'QLWAPP_PLUGIN_FILE', __FILE__ );
|
23 |
define( 'QLWAPP_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
|
24 |
define( 'QLWAPP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
4 |
* Plugin Name: Social Chat
|
5 |
* Description: Social Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
6 |
* Plugin URI: https://quadlayers.com/portfolio/whatsapp-chat/
|
7 |
+
* Version: 6.2.2
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPLv3
|
18 |
}
|
19 |
|
20 |
define( 'QLWAPP_PLUGIN_NAME', 'Social Chat' );
|
21 |
+
define( 'QLWAPP_PLUGIN_VERSION', '6.2.2' );
|
22 |
define( 'QLWAPP_PLUGIN_FILE', __FILE__ );
|
23 |
define( 'QLWAPP_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
|
24 |
define( 'QLWAPP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|