Version Description
- Fix: Uncaught TypeError
Download this release
Release Info
Developer | bhvreddy |
Plugin | Click to Chat for WhatsApp Chat |
Version | 3.17 |
Comparing to | |
See all releases |
Code changes from version 3.16 to 3.17
click-to-chat.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Click to Chat
|
4 |
Plugin URI: https://wordpress.org/plugins/click-to-chat-for-whatsapp/
|
5 |
Description: Lets make your Web page visitors contact you through WhatsApp with a single click/tap
|
6 |
-
Version: 3.
|
7 |
Author: HoliThemes
|
8 |
Author URI: https://holithemes.com/plugins/click-to-chat/
|
9 |
License: GPL2
|
@@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
17 |
|
18 |
// ctc - Version - update version at readme 'Stable tag'
|
19 |
if ( ! defined( 'HT_CTC_VERSION' ) ) {
|
20 |
-
define( 'HT_CTC_VERSION', '3.
|
21 |
}
|
22 |
|
23 |
// define HT_CTC_PLUGIN_FILE
|
3 |
Plugin Name: Click to Chat
|
4 |
Plugin URI: https://wordpress.org/plugins/click-to-chat-for-whatsapp/
|
5 |
Description: Lets make your Web page visitors contact you through WhatsApp with a single click/tap
|
6 |
+
Version: 3.17
|
7 |
Author: HoliThemes
|
8 |
Author URI: https://holithemes.com/plugins/click-to-chat/
|
9 |
License: GPL2
|
17 |
|
18 |
// ctc - Version - update version at readme 'Stable tag'
|
19 |
if ( ! defined( 'HT_CTC_VERSION' ) ) {
|
20 |
+
define( 'HT_CTC_VERSION', '3.17' );
|
21 |
}
|
22 |
|
23 |
// define HT_CTC_PLUGIN_FILE
|
new/admin/admin_commons/admin-sidebar-content.php
CHANGED
@@ -18,9 +18,8 @@ $othersettings = get_option('ht_ctc_othersettings');
|
|
18 |
<li class="active">
|
19 |
<div class="collapsible-header"><?php _e( 'Contact Us', 'click-to-chat-for-whatsapp' ); ?></div>
|
20 |
<div class="collapsible-body">
|
21 |
-
<p class="description"><a href="https://
|
22 |
-
<p class="description"><a href="
|
23 |
-
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/support/">Support Page</a></p>
|
24 |
</div>
|
25 |
</li>
|
26 |
</ul>
|
18 |
<li class="active">
|
19 |
<div class="collapsible-header"><?php _e( 'Contact Us', 'click-to-chat-for-whatsapp' ); ?></div>
|
20 |
<div class="collapsible-body">
|
21 |
+
<p class="description"><a target="_blank" href="https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/">WordPress Forum</a></p>
|
22 |
+
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/support/">HoliThemes Support</a></p>
|
|
|
23 |
</div>
|
24 |
</li>
|
25 |
</ul>
|
new/admin/class-ht-ctc-admin-main-page.php
CHANGED
@@ -312,9 +312,10 @@ class HT_CTC_Admin_Main_Page {
|
|
312 |
<p class="description"><a target="_blank" href="<?= admin_url( 'admin.php?page=click-to-chat-other-settings' ); ?>">Other Settings</a></p>
|
313 |
<p class="description"><a target="_blank" href="<?= $woo_link ?>">WooCommerce</a> <?= $woo_text ?></p>
|
314 |
<br>
|
315 |
-
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/shortcodes-chat">Shortcodes for Chat: </a>[ht-ctc-chat]</p>
|
316 |
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/custom-element">Custom Element: </a>Class name: ctc_chat | Href/Link: #ctc_chat</p>
|
|
|
317 |
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/faq">Frequently Asked Questions (FAQ)</a></p>
|
|
|
318 |
|
319 |
<?php
|
320 |
|
312 |
<p class="description"><a target="_blank" href="<?= admin_url( 'admin.php?page=click-to-chat-other-settings' ); ?>">Other Settings</a></p>
|
313 |
<p class="description"><a target="_blank" href="<?= $woo_link ?>">WooCommerce</a> <?= $woo_text ?></p>
|
314 |
<br>
|
|
|
315 |
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/custom-element">Custom Element: </a>Class name: ctc_chat | Href/Link: #ctc_chat</p>
|
316 |
+
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/shortcodes-chat">Shortcodes for Chat: </a>[ht-ctc-chat]</p>
|
317 |
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/faq">Frequently Asked Questions (FAQ)</a></p>
|
318 |
+
<p class="description"><a target="_blank" href="https://holithemes.com/plugins/click-to-chat/support/">Contact Us</a></p>
|
319 |
|
320 |
<?php
|
321 |
|
new/admin/db/class-ht-ctc-db.php
CHANGED
@@ -87,6 +87,8 @@ class HT_CTC_DB {
|
|
87 |
}
|
88 |
|
89 |
$db_values = get_option( 'ht_ctc_othersettings', array() );
|
|
|
|
|
90 |
$update_values = array_merge($values, $db_values);
|
91 |
update_option('ht_ctc_othersettings', $update_values);
|
92 |
|
@@ -153,6 +155,8 @@ class HT_CTC_DB {
|
|
153 |
}
|
154 |
|
155 |
$db_values = get_option( 'ht_ctc_chat_options', array() );
|
|
|
|
|
156 |
$update_values = array_merge($values, $db_values);
|
157 |
update_option('ht_ctc_chat_options', $update_values);
|
158 |
|
@@ -188,6 +192,8 @@ class HT_CTC_DB {
|
|
188 |
}
|
189 |
|
190 |
$db_values = get_option( 'ht_ctc_s2', array() );
|
|
|
|
|
191 |
$update_values = array_merge($style_2, $db_values);
|
192 |
update_option('ht_ctc_s2', $update_values);
|
193 |
|
@@ -223,6 +229,7 @@ class HT_CTC_DB {
|
|
223 |
);
|
224 |
|
225 |
$db_values = get_option( 'ht_ctc_plugin_details', array() );
|
|
|
226 |
|
227 |
// extra safe instead of directly merge.
|
228 |
$update_values = $values;
|
87 |
}
|
88 |
|
89 |
$db_values = get_option( 'ht_ctc_othersettings', array() );
|
90 |
+
$db_values = (is_array( $db_values)) ? $db_values : [];
|
91 |
+
|
92 |
$update_values = array_merge($values, $db_values);
|
93 |
update_option('ht_ctc_othersettings', $update_values);
|
94 |
|
155 |
}
|
156 |
|
157 |
$db_values = get_option( 'ht_ctc_chat_options', array() );
|
158 |
+
$db_values = (is_array( $db_values)) ? $db_values : [];
|
159 |
+
|
160 |
$update_values = array_merge($values, $db_values);
|
161 |
update_option('ht_ctc_chat_options', $update_values);
|
162 |
|
192 |
}
|
193 |
|
194 |
$db_values = get_option( 'ht_ctc_s2', array() );
|
195 |
+
$db_values = (is_array( $db_values)) ? $db_values : [];
|
196 |
+
|
197 |
$update_values = array_merge($style_2, $db_values);
|
198 |
update_option('ht_ctc_s2', $update_values);
|
199 |
|
229 |
);
|
230 |
|
231 |
$db_values = get_option( 'ht_ctc_plugin_details', array() );
|
232 |
+
$db_values = (is_array( $db_values)) ? $db_values : [];
|
233 |
|
234 |
// extra safe instead of directly merge.
|
235 |
$update_values = $values;
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Requires at least: 4.6
|
|
3 |
Tested up to: 6.1.1
|
4 |
Requires PHP: 5.6
|
5 |
Contributors: holithemes
|
6 |
-
Stable tag: 3.
|
7 |
Tags: whatsapp, whatsapp business, click to chat, whatsapp chat, whatsapp support, whatsapp group, whatsapp share, WhatsApp WooCommerce, whatsapp wordpress, whatsapp floating button, chat, holithemes
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -64,7 +64,7 @@ Encourage user engagement by displaying the perfect message at the perfect time
|
|
64 |
* [Greetings-1](https://holithemes.com/plugins/click-to-chat/greetings-1/): Customizable Design
|
65 |
* [Greetings-2](https://holithemes.com/plugins/click-to-chat/greetings-2/): Content Specific Design
|
66 |
* [Greetings-Form](https://holithemes.com/plugins/click-to-chat/greetings-form/): Form Filling before initializing the chat [PRO]
|
67 |
-
* [Multi Agent](https://holithemes.com/plugins/click-to-chat/multi-agent): Displays multiple WhatsApp accounts with different time ranges
|
68 |
|
69 |
= Greetings Actions =
|
70 |
|
@@ -249,7 +249,7 @@ PRO:
|
|
249 |
|
250 |
Make the website users opt-in / accept consent before initiating the chat.
|
251 |
|
252 |
-
Opt-in[https://holithemes.com/plugins/click-to-chat/opt-in/]
|
253 |
|
254 |
== ⛳ Shortcodes ==
|
255 |
|
@@ -481,8 +481,11 @@ Click to Chat is Compatible with (AMP)[https://wordpress.org/plugins/amp/] plugi
|
|
481 |
= 🔧 Basic Troubleshooting =
|
482 |
|
483 |
* Clear cache
|
484 |
-
*
|
485 |
-
*
|
|
|
|
|
|
|
486 |
|
487 |
For any queries, please contact us.
|
488 |
|
@@ -490,14 +493,12 @@ For any queries, please contact us.
|
|
490 |
|
491 |
For any issues with the plugin / suggestions:
|
492 |
|
493 |
-
* 📧 ctc@holithemes.com
|
494 |
|
495 |
* [WhatsApp](http://api.whatsapp.com/send?phone=919494429789&text=Hi%20HoliThemes,%20I%20have%20a%20question:)
|
496 |
|
497 |
* WordPress [new topic](https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/)
|
498 |
|
499 |
-
* HoliThemes - Click to Chat [Support Forum](https://holithemes.com/support/forum/click-to-chat/)
|
500 |
-
|
501 |
= ⭐️ Give Support =
|
502 |
|
503 |
If you like the plugin, support the developers by giving [5 star rating](https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/reviews/#new-post)
|
@@ -523,6 +524,9 @@ After Activate the plugin, add WhatsApp Number at plugin settings.
|
|
523 |
|
524 |
== Changelog ==
|
525 |
|
|
|
|
|
|
|
526 |
= 3.16 =
|
527 |
* Enchantment: Shortcodes
|
528 |
* PRO: Greetings [Multi Agent](https://holithemes.com/plugins/click-to-chat/multi-agent)
|
3 |
Tested up to: 6.1.1
|
4 |
Requires PHP: 5.6
|
5 |
Contributors: holithemes
|
6 |
+
Stable tag: 3.17
|
7 |
Tags: whatsapp, whatsapp business, click to chat, whatsapp chat, whatsapp support, whatsapp group, whatsapp share, WhatsApp WooCommerce, whatsapp wordpress, whatsapp floating button, chat, holithemes
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
64 |
* [Greetings-1](https://holithemes.com/plugins/click-to-chat/greetings-1/): Customizable Design
|
65 |
* [Greetings-2](https://holithemes.com/plugins/click-to-chat/greetings-2/): Content Specific Design
|
66 |
* [Greetings-Form](https://holithemes.com/plugins/click-to-chat/greetings-form/): Form Filling before initializing the chat [PRO]
|
67 |
+
* [Multi Agent](https://holithemes.com/plugins/click-to-chat/multi-agent): Displays multiple WhatsApp accounts with different time ranges [PRO]
|
68 |
|
69 |
= Greetings Actions =
|
70 |
|
249 |
|
250 |
Make the website users opt-in / accept consent before initiating the chat.
|
251 |
|
252 |
+
(Opt-in)[https://holithemes.com/plugins/click-to-chat/opt-in/]
|
253 |
|
254 |
== ⛳ Shortcodes ==
|
255 |
|
481 |
= 🔧 Basic Troubleshooting =
|
482 |
|
483 |
* Clear cache
|
484 |
+
* from Cache plugins
|
485 |
+
* Server side cache (some hosting providers adds cache functionality by default)
|
486 |
+
* CDN cache (Cache invalidation)
|
487 |
+
* Check Display settings
|
488 |
+
* (page level settings)[https://holithemes.com/plugins/click-to-chat/change-values-at-page-level/]
|
489 |
|
490 |
For any queries, please contact us.
|
491 |
|
493 |
|
494 |
For any issues with the plugin / suggestions:
|
495 |
|
496 |
+
* 📧 [ctc@holithemes.com](mailto:ctc@holithemes.com)
|
497 |
|
498 |
* [WhatsApp](http://api.whatsapp.com/send?phone=919494429789&text=Hi%20HoliThemes,%20I%20have%20a%20question:)
|
499 |
|
500 |
* WordPress [new topic](https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/)
|
501 |
|
|
|
|
|
502 |
= ⭐️ Give Support =
|
503 |
|
504 |
If you like the plugin, support the developers by giving [5 star rating](https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/reviews/#new-post)
|
524 |
|
525 |
== Changelog ==
|
526 |
|
527 |
+
= 3.17 =
|
528 |
+
* Fix: Uncaught TypeError
|
529 |
+
|
530 |
= 3.16 =
|
531 |
* Enchantment: Shortcodes
|
532 |
* PRO: Greetings [Multi Agent](https://holithemes.com/plugins/click-to-chat/multi-agent)
|