Version Description
- FIX PHP warning introduced in v4.5.2.
Download this release
Release Info
Developer | creapuntome |
Plugin | WhatsApp me |
Version | 4.5.3 |
Comparing to | |
See all releases |
Code changes from version 4.5.2 to 4.5.3
- README.txt +4 -1
- includes/class-joinchat.php +2 -0
- joinchat.php +2 -2
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.
|
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.2 =
|
351 |
* FIX Joinchat integration with Gutenberg only loads for WordPress 5.9 or higher.
|
352 |
|
5 |
Requires at least: 4.4.0
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.5
|
8 |
+
Stable tag: 4.5.3
|
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.3 =
|
351 |
+
* FIX PHP warning introduced in v4.5.2.
|
352 |
+
|
353 |
= 4.5.2 =
|
354 |
* FIX Joinchat integration with Gutenberg only loads for WordPress 5.9 or higher.
|
355 |
|
includes/class-joinchat.php
CHANGED
@@ -214,6 +214,8 @@ class JoinChat {
|
|
214 |
*/
|
215 |
private function define_public_hooks() {
|
216 |
|
|
|
|
|
217 |
if ( is_admin() || 'wp-login.php' === $pagenow ) {
|
218 |
return;
|
219 |
}
|
214 |
*/
|
215 |
private function define_public_hooks() {
|
216 |
|
217 |
+
global $pagenow;
|
218 |
+
|
219 |
if ( is_admin() || 'wp-login.php' === $pagenow ) {
|
220 |
return;
|
221 |
}
|
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.
|
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.
|
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.3
|
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.3' );
|
30 |
define( 'JOINCHAT_FILE', __FILE__ );
|
31 |
define( 'JOINCHAT_DIR', plugin_dir_path( JOINCHAT_FILE ) );
|
32 |
define( 'JOINCHAT_BASENAME', plugin_basename( JOINCHAT_FILE ) );
|