WhatsApp me - Version 1.3.1

Version Description

  • Fix fatal error when the PHP mbstring extension is not active
Download this release

Release Info

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

Code changes from version 1.3.0 to 1.3.1

Files changed (3) hide show
  1. README.txt +13 -2
  2. admin/class-whatsappme-admin.php +3 -1
  3. whatsappme.php +2 -2
README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: whatsapp, button, chat, support, contact
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3
8
- Stable tag: 1.3.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -23,6 +23,7 @@ With **WhatsApp me** you will get the visitors of your website to contact you th
23
  WhatsApp is used in more than 100 countries and supports more than 50 languages. Recent surveys say that 96% of users prefer to use a *messaging app* before calling by phone. If none of this has convinced you, think one thing, your grandmother knows how to use WhatsApp. Do not lose more customers and sales. Try **WhatsApp me**.
24
 
25
  Options:
 
26
  1. Phone: Enter the phone number.
27
  2. Mobile only: Select if you want the button to be visible only on mobile devices. WhatsApp Web/App will open on the desktop (if available).
28
  3. Call to action: Write a message to encourage users to contact you through WhatsApp.
@@ -35,6 +36,13 @@ Options:
35
  1. Upload the entire `creame-whatsapp-me` folder to the `/wp-content/plugins/` directory.
36
  1. Activate the plugin through the 'Plugins' menu in WordPress.
37
 
 
 
 
 
 
 
 
38
  == Screenshots ==
39
 
40
  1. WhatsApp me settings.
@@ -44,9 +52,12 @@ Options:
44
 
45
  == Changelog ==
46
 
 
 
 
47
  = 1.3.0 =
48
  * Added option to change position of button to left
49
- * Added formatting styles for Call to action text like in WhatsApp: _italic_ *bold* ~strikethrough~
50
 
51
  = 1.2.0 =
52
  * Added International Telephone Input for enhanced phone input
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3
8
+ Stable tag: 1.3.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
23
  WhatsApp is used in more than 100 countries and supports more than 50 languages. Recent surveys say that 96% of users prefer to use a *messaging app* before calling by phone. If none of this has convinced you, think one thing, your grandmother knows how to use WhatsApp. Do not lose more customers and sales. Try **WhatsApp me**.
24
 
25
  Options:
26
+
27
  1. Phone: Enter the phone number.
28
  2. Mobile only: Select if you want the button to be visible only on mobile devices. WhatsApp Web/App will open on the desktop (if available).
29
  3. Call to action: Write a message to encourage users to contact you through WhatsApp.
36
  1. Upload the entire `creame-whatsapp-me` folder to the `/wp-content/plugins/` directory.
37
  1. Activate the plugin through the 'Plugins' menu in WordPress.
38
 
39
+ == Frequently Asked Questions ==
40
+
41
+ = I can't see the button or it's over / under another thing =
42
+
43
+ You can change the position of the button so that nothing covers it by adding this CSS in *Appearance > Customize > Custom CSS*: `.whatsappme { z-index:1000; }`
44
+ Greater values of z-index are left over, the default value is 400.
45
+
46
  == Screenshots ==
47
 
48
  1. WhatsApp me settings.
52
 
53
  == Changelog ==
54
 
55
+ = 1.3.1 =
56
+ * Fix fatal error when the PHP mbstring extension is not active
57
+
58
  = 1.3.0 =
59
  * Added option to change position of button to left
60
+ * Added formatting styles for Call to action text like in WhatsApp: *italic* **bold** strikethrough
61
 
62
  = 1.2.0 =
63
  * Added International Telephone Input for enhanced phone input
admin/class-whatsappme-admin.php CHANGED
@@ -333,7 +333,9 @@ class WhatsAppMe_Admin {
333
  ), $metadata );
334
 
335
  $post_type = get_post_type_object( get_post_type( $post->ID ) );
336
- $post_type_name = mb_strtolower( $post_type->labels->singular_name );
 
 
337
 
338
  wp_nonce_field( 'whatsappme_data', 'whatsappme_nonce' );
339
  ?>
333
  ), $metadata );
334
 
335
  $post_type = get_post_type_object( get_post_type( $post->ID ) );
336
+ $post_type_name = function_exists( 'mb_strtolower' ) ?
337
+ mb_strtolower( $post_type->labels->singular_name ) :
338
+ strtolower( $post_type->labels->singular_name );
339
 
340
  wp_nonce_field( 'whatsappme_data', 'whatsappme_nonce' );
341
  ?>
whatsappme.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: WhatsApp me
10
  * Plugin URI: https://crea.me/productos/whatsapp-me/
11
  * Description: Add support to your clients directly with WhatsApp.
12
- * Version: 1.3.0
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', '1.3.0' );
31
 
32
  /**
33
  * The core plugin class that is used to define internationalization,
9
  * Plugin Name: WhatsApp me
10
  * Plugin URI: https://crea.me/productos/whatsapp-me/
11
  * Description: Add support to your clients directly with WhatsApp.
12
+ * Version: 1.3.1
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', '1.3.1' );
31
 
32
  /**
33
  * The core plugin class that is used to define internationalization,