WhatsApp me - Version 1.3.2

Version Description

  • Only set admin/public hooks when it corresponds to improve performance and fix a notice on admin.
Download this release

Release Info

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

Code changes from version 1.3.1 to 1.3.2

Files changed (3) hide show
  1. README.txt +4 -1
  2. includes/class-whatsappme.php +1 -2
  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.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -52,6 +52,9 @@ Greater values of z-index are left over, the default value is 400.
52
 
53
  == Changelog ==
54
 
 
 
 
55
  = 1.3.1 =
56
  * Fix fatal error when the PHP mbstring extension is not active
57
 
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3
8
+ Stable tag: 1.3.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
52
 
53
  == Changelog ==
54
 
55
+ = 1.3.2 =
56
+ * Only set admin/public hooks when it corresponds to improve performance and fix a notice on admin.
57
+
58
  = 1.3.1 =
59
  * Fix fatal error when the PHP mbstring extension is not active
60
 
includes/class-whatsappme.php CHANGED
@@ -63,8 +63,7 @@ class WhatsAppMe {
63
 
64
  $this->load_dependencies();
65
  $this->set_locale();
66
- $this->define_admin_hooks();
67
- $this->define_public_hooks();
68
 
69
  }
70
 
63
 
64
  $this->load_dependencies();
65
  $this->set_locale();
66
+ is_admin() ? $this->define_admin_hooks() : $this->define_public_hooks();
 
67
 
68
  }
69
 
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.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', '1.3.1' );
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.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', '1.3.2' );
31
 
32
  /**
33
  * The core plugin class that is used to define internationalization,