WhatsApp me - Version 4.5.5

Version Description

  • FIX WhatsApp Web always deactivated in frontend.
Download this release

Release Info

Developer creapuntome
Plugin Icon 128x128 WhatsApp me
Version 4.5.5
Comparing to
See all releases

Code changes from version 4.5.4 to 4.5.5

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Chat, Click to Chat, Facebook Messenger, WhatsApp, Telegram, Whatsapp Busi
5
  Requires at least: 4.4.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.5
8
- Stable tag: 4.5.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -347,6 +347,9 @@ Join.chat save two localStorage variables for proper operation:
347
 
348
  == Changelog ==
349
 
 
 
 
350
  = 4.5.4 =
351
  * FIX Allows Google Ads conversion ID of 11 characters.
352
 
5
  Requires at least: 4.4.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.5
8
+ Stable tag: 4.5.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
347
 
348
  == Changelog ==
349
 
350
+ = 4.5.5 =
351
+ * FIX WhatsApp Web always deactivated in frontend.
352
+
353
  = 4.5.4 =
354
  * FIX Allows Google Ads conversion ID of 11 characters.
355
 
includes/class-joinchat-common.php CHANGED
@@ -95,7 +95,7 @@ class JoinChatCommon {
95
  'position' => 'right',
96
  'visibility' => array( 'all' => 'yes' ),
97
  'color' => '#25d366',
98
- 'dark_mode' => 'no',
99
  'header' => '__jc__', // values: '__jc__', '__wa__' or other custom text.
100
  'optin_text' => '',
101
  'optin_check' => 'no',
95
  'position' => 'right',
96
  'visibility' => array( 'all' => 'yes' ),
97
  'color' => '#25d366',
98
+ 'dark_mode' => 'no', // values: 'no', 'yes' or 'auto'.
99
  'header' => '__jc__', // values: '__jc__', '__wa__' or other custom text.
100
  'optin_text' => '',
101
  'optin_check' => 'no',
joinchat.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: Join.chat
10
  * Plugin URI: https://join.chat
11
  * Description: Connects a WordPress chat with WhatsApp. The best solution for marketing and support. Stop losing customers and increase your sales.
12
- * Version: 4.5.4
13
  * Author: Creame
14
  * Author URI: https://crea.me
15
  * License: GPL-2.0+
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
26
  /**
27
  * Define constants.
28
  */
29
- define( 'JOINCHAT_VERSION', '4.5.4' );
30
  define( 'JOINCHAT_FILE', __FILE__ );
31
  define( 'JOINCHAT_DIR', plugin_dir_path( JOINCHAT_FILE ) );
32
  define( 'JOINCHAT_BASENAME', plugin_basename( JOINCHAT_FILE ) );
9
  * Plugin Name: Join.chat
10
  * Plugin URI: https://join.chat
11
  * Description: Connects a WordPress chat with WhatsApp. The best solution for marketing and support. Stop losing customers and increase your sales.
12
+ * Version: 4.5.5
13
  * Author: Creame
14
  * Author URI: https://crea.me
15
  * License: GPL-2.0+
26
  /**
27
  * Define constants.
28
  */
29
+ define( 'JOINCHAT_VERSION', '4.5.5' );
30
  define( 'JOINCHAT_FILE', __FILE__ );
31
  define( 'JOINCHAT_DIR', plugin_dir_path( JOINCHAT_FILE ) );
32
  define( 'JOINCHAT_BASENAME', plugin_basename( JOINCHAT_FILE ) );
public/class-joinchat-public.php CHANGED
@@ -111,12 +111,11 @@ class JoinChatPublic {
111
 
112
  // Prepare settings.
113
  $settings['telephone'] = JoinChatUtil::clean_whatsapp( $settings['telephone'] );
 
114
  $settings['mobile_only'] = 'yes' === $settings['mobile_only'];
115
  $settings['whatsapp_web'] = 'yes' === $settings['whatsapp_web'];
116
- $settings['message_badge'] = 'yes' === $settings['message_badge'] && '' !== $settings['message_text'];
117
  $settings['qr'] = 'yes' === $settings['qr'];
118
- $settings['message_send'] = JoinChatUtil::replace_variables( $settings['message_send'] );
119
- $settings['whatsapp_web'] = 'yes' === $settings['whatsapp_web'];
120
  $settings['optin_check'] = 'yes' === $settings['optin_check'];
121
 
122
  if ( empty( $settings['gads'] ) ) {
111
 
112
  // Prepare settings.
113
  $settings['telephone'] = JoinChatUtil::clean_whatsapp( $settings['telephone'] );
114
+ $settings['message_send'] = JoinChatUtil::replace_variables( $settings['message_send'] );
115
  $settings['mobile_only'] = 'yes' === $settings['mobile_only'];
116
  $settings['whatsapp_web'] = 'yes' === $settings['whatsapp_web'];
 
117
  $settings['qr'] = 'yes' === $settings['qr'];
118
+ $settings['message_badge'] = 'yes' === $settings['message_badge'] && '' !== $settings['message_text'];
 
119
  $settings['optin_check'] = 'yes' === $settings['optin_check'];
120
 
121
  if ( empty( $settings['gads'] ) ) {