WhatsApp me - Version 2.3.2

Version Description

  • FIX PHP notice on some archive pages
Download this release

Release Info

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

Code changes from version 2.3.1 to 2.3.2

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: whatsapp business, whatsapp, click to chat, button, whatsapp support chat,
5
  Requires at least: 3.0.1
6
  Tested up to: 5.2
7
  Requires PHP: 5.3
8
- Stable tag: 2.3.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -117,6 +117,9 @@ WhatsApp me send an event (if GTM detected) when user click to launch WhatsApp:
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 2.3.1 =
121
  * Readme texts and description.
122
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.2
7
  Requires PHP: 5.3
8
+ Stable tag: 2.3.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
117
 
118
  == Changelog ==
119
 
120
+ = 2.3.2 =
121
+ * FIX PHP notice on some archive pages
122
+
123
  = 2.3.1 =
124
  * Readme texts and description.
125
 
public/class-whatsappme-public.php CHANGED
@@ -101,7 +101,7 @@ class WhatsAppMe_Public {
101
  $settings['message_send'] = apply_filters( 'wpml_translate_single_string', $settings['message_send'], 'WhatsApp me', 'Message' );
102
 
103
  // Post custom settings
104
- $post_settings = is_object( $post ) ? get_post_meta( $post->ID, '_whatsappme', true ) : '';
105
 
106
  if ( is_array( $post_settings ) ) {
107
  // Move old 'hide' to new 'view' field
101
  $settings['message_send'] = apply_filters( 'wpml_translate_single_string', $settings['message_send'], 'WhatsApp me', 'Message' );
102
 
103
  // Post custom settings
104
+ $post_settings = is_a( $post, 'WP_Post' ) ? get_post_meta( $post->ID, '_whatsappme', true ) : '';
105
 
106
  if ( is_array( $post_settings ) ) {
107
  // Move old 'hide' to new 'view' field
whatsappme.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: WhatsApp me
10
  * Plugin URI: https://wame.chat
11
  * Description: Connect a WordPress chat with WhatsApp. The best solution for marketing and support. Stop losing customers and increase your sales.
12
- * Version: 2.3.1
13
  * Author: Creame
14
  * Author URI: https://crea.me
15
  * License: GPL-2.0+
@@ -27,7 +27,7 @@ if ( ! defined( 'WPINC' ) ) {
27
  * Currently plugin version.
28
  * Start at version 1.0.0 and use SemVer - https://semver.org
29
  */
30
- define( 'WHATSAPPME_VERSION', '2.3.1' );
31
 
32
  /**
33
  * The core plugin class that is used to define internationalization,
9
  * Plugin Name: WhatsApp me
10
  * Plugin URI: https://wame.chat
11
  * Description: Connect a WordPress chat with WhatsApp. The best solution for marketing and support. Stop losing customers and increase your sales.
12
+ * Version: 2.3.2
13
  * Author: Creame
14
  * Author URI: https://crea.me
15
  * License: GPL-2.0+
27
  * Currently plugin version.
28
  * Start at version 1.0.0 and use SemVer - https://semver.org
29
  */
30
+ define( 'WHATSAPPME_VERSION', '2.3.2' );
31
 
32
  /**
33
  * The core plugin class that is used to define internationalization,