Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty - Version 3.0.2

Version Description

Chaty settings security enhancement

Download this release

Release Info

Developer premiocommit
Plugin Icon wp plugin Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

Files changed (3) hide show
  1. admin/class-admin-base.php +2 -2
  2. cht-icons.php +2 -2
  3. readme.txt +4 -1
admin/class-admin-base.php CHANGED
@@ -903,7 +903,7 @@ class CHT_Admin_Base
903
  }
904
 
905
  if ($chaty_leads) {
906
- $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".$chaty_leads.")");
907
  $paged = isset($postData['paged']) && !empty($postData['paged']) && is_numeric($postData['paged']) && $postData['paged'] > 0 ? $postData['paged'] : 1;
908
  $search = isset($postData['search']) && !empty($postData['search']) ? $postData['search'] : "";
909
  $url = admin_url("admin.php?page=chaty-contact-form-feed");
@@ -939,7 +939,7 @@ class CHT_Admin_Base
939
  if ($chaty_leads == "remove-all") {
940
  $delete = $wpdb->query("TRUNCATE TABLE {$tableName}");
941
  } else {
942
- $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".$chaty_leads.")");
943
  }
944
 
945
  $paged = isset($postData['paged']) && !empty($postData['paged']) && is_numeric($postData['paged']) && $postData['paged'] > 0 ? $postData['paged'] : 1;
903
  }
904
 
905
  if ($chaty_leads) {
906
+ $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".esc_sql($chaty_leads).")");
907
  $paged = isset($postData['paged']) && !empty($postData['paged']) && is_numeric($postData['paged']) && $postData['paged'] > 0 ? $postData['paged'] : 1;
908
  $search = isset($postData['search']) && !empty($postData['search']) ? $postData['search'] : "";
909
  $url = admin_url("admin.php?page=chaty-contact-form-feed");
939
  if ($chaty_leads == "remove-all") {
940
  $delete = $wpdb->query("TRUNCATE TABLE {$tableName}");
941
  } else {
942
+ $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".esc_sql($chaty_leads).")");
943
  }
944
 
945
  $paged = isset($postData['paged']) && !empty($postData['paged']) && is_numeric($postData['paged']) && $postData['paged'] > 0 ? $postData['paged'] : 1;
cht-icons.php CHANGED
@@ -7,7 +7,7 @@
7
  Author URI: https://premio.io/downloads/chaty/
8
  Text Domain: chaty
9
  Domain Path: /languages
10
- Version: 3.0.1
11
  License: GPL2
12
  */
13
 
@@ -27,7 +27,7 @@ define('CHT_INC', CHT_DIR . '/includes');
27
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
28
  define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
29
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
30
- define('CHT_VERSION', "3.0.1");
31
 
32
  if (!function_exists('wp_doing_ajax')) {
33
  function wp_doing_ajax()
7
  Author URI: https://premio.io/downloads/chaty/
8
  Text Domain: chaty
9
  Domain Path: /languages
10
+ Version: 3.0.2
11
  License: GPL2
12
  */
13
 
27
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
28
  define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
29
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
30
+ define('CHT_VERSION', "3.0.2");
31
 
32
  if (!function_exists('wp_doing_ajax')) {
33
  function wp_doing_ajax()
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: galdub, tomeraharon, premio
3
  Tags: whatsapp, whatsapp chat, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, contact button, click to call
4
  Requires at least: 3.1
5
  Tested up to: 6.1
6
- Stable tag: 3.0.1
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  WhatsApp chat, Facebook Messenger, Telegram, TikTok, Viber, Email, Line, WeChat Phone call, SMS, and more with customizable WhatsApp chat widget & call buttons. Chat with your visitors on WhatsApp, Facebook Messenger, and other chat channels!
@@ -283,6 +283,9 @@ Yes! You can even decide what chat buttons will show up on each device (desktop/
283
 
284
  == Changelog ==
285
 
 
 
 
286
  = 3.0.1 =
287
  RTL menu fix
288
 
3
  Tags: whatsapp, whatsapp chat, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, contact button, click to call
4
  Requires at least: 3.1
5
  Tested up to: 6.1
6
+ Stable tag: 3.0.2
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  WhatsApp chat, Facebook Messenger, Telegram, TikTok, Viber, Email, Line, WeChat Phone call, SMS, and more with customizable WhatsApp chat widget & call buttons. Chat with your visitors on WhatsApp, Facebook Messenger, and other chat channels!
283
 
284
  == Changelog ==
285
 
286
+ = 3.0.2 =
287
+ Chaty settings security enhancement
288
+
289
  = 3.0.1 =
290
  RTL menu fix
291