Version Description
Download this release
Release Info
Developer | galdub |
Plugin | Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- admin/class-admin-base.php +1 -0
- cht-icons.php +1 -1
- readme.txt +2 -2
- views/widget.php +3 -1
admin/class-admin-base.php
CHANGED
@@ -126,6 +126,7 @@ class CHT_Admin_Base
|
|
126 |
}
|
127 |
|
128 |
public function check_page_available() {
|
|
|
129 |
if ($_GET['page'] == $this->upgrade_slug && $this->is_pro() && !$this->data_check()) {
|
130 |
wp_redirect(admin_url('admin.php?page=chaty-app'));
|
131 |
exit;
|
126 |
}
|
127 |
|
128 |
public function check_page_available() {
|
129 |
+
if (!isset($_GET['page'])) return;
|
130 |
if ($_GET['page'] == $this->upgrade_slug && $this->is_pro() && !$this->data_check()) {
|
131 |
wp_redirect(admin_url('admin.php?page=chaty-app'));
|
132 |
exit;
|
cht-icons.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
|
6 |
Author: Chaty
|
7 |
Author URI: https://chaty.app
|
8 |
-
Version: 1.2.
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
5 |
Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
|
6 |
Author: Chaty
|
7 |
Author URI: https://chaty.app
|
8 |
+
Version: 1.2.3
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: galdub, tomeraharon
|
3 |
Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button
|
4 |
Requires at least: 3.1
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 1.2.
|
7 |
Plugin URI: https://chaty.app
|
8 |
|
9 |
FREE customizable live chat and call buttons. Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, SMS and more.
|
2 |
Contributors: galdub, tomeraharon
|
3 |
Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 5.0
|
6 |
+
Stable tag: 1.2.3
|
7 |
Plugin URI: https://chaty.app
|
8 |
|
9 |
FREE customizable live chat and call buttons. Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, SMS and more.
|
views/widget.php
CHANGED
@@ -10,6 +10,8 @@
|
|
10 |
|
11 |
<?php $bg_color = $this->get_current_color();?>
|
12 |
<?php $len = strlen( $this->int_arr());?>
|
|
|
|
|
13 |
<script src="https://go.chaty.app/js/chaty_api_new.js?<?php echo rand();?>" settings='
|
14 |
{
|
15 |
"object_settings":{
|
@@ -25,7 +27,7 @@
|
|
25 |
"widget_size":"<?php echo (get_option('cht_widget_size')) ? get_option('cht_widget_size'): '54';?>",
|
26 |
"widget_type":"<?php echo get_option('widget_icon');?>",
|
27 |
"widget_img":"<?php echo $this->getCustomWidgetImg();?>",
|
28 |
-
"cta":"<?php echo
|
29 |
"link_active":"<?php echo get_option('cht_credit') ?>",
|
30 |
"active":"<?php echo (get_option('cht_active') && $len>2) ? 'true' : 'false' ?>"
|
31 |
}
|
10 |
|
11 |
<?php $bg_color = $this->get_current_color();?>
|
12 |
<?php $len = strlen( $this->int_arr());?>
|
13 |
+
<?php $cta = $this->getCallToAction(); ?>
|
14 |
+
|
15 |
<script src="https://go.chaty.app/js/chaty_api_new.js?<?php echo rand();?>" settings='
|
16 |
{
|
17 |
"object_settings":{
|
27 |
"widget_size":"<?php echo (get_option('cht_widget_size')) ? get_option('cht_widget_size'): '54';?>",
|
28 |
"widget_type":"<?php echo get_option('widget_icon');?>",
|
29 |
"widget_img":"<?php echo $this->getCustomWidgetImg();?>",
|
30 |
+
"cta":"<?php echo $cta; ?>",
|
31 |
"link_active":"<?php echo get_option('cht_credit') ?>",
|
32 |
"active":"<?php echo (get_option('cht_active') && $len>2) ? 'true' : 'false' ?>"
|
33 |
}
|