Better Notifications for WordPress - Version 1.3.2

Version Description

  • Fixed: Replaced a deprecated function which might cause a warning to show when WP_DEBUG was enabled.
Download this release

Release Info

Developer voltronik
Plugin Icon 128x128 Better Notifications for WordPress
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

Files changed (2) hide show
  1. README.txt +4 -1
  2. bnfw.php +2 -2
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: voltronik
3
  Tags: notifications, email, mail, alerts, roles, user, users, admin, HTML, plain, wp_mail, shortcode, customize, post, page, updated, pending review, scheduled, category, tag, term, custom post type, comment, akismet, trackback, pingback, lost password, welcome, new user, bulk, notice, trigger, CC, BCC, from
4
  Requires at least: 3.5
5
  Tested up to: 4.2.2
6
- Stable tag: 1.3.1
7
  License: GPLv2 or later
8
 
9
  Send customisable HTML emails to your users for different WordPress notifications.
@@ -160,6 +160,9 @@ It might do but this is untested.
160
 
161
  == Changelog ==
162
 
 
 
 
163
  = 1.3.1 =
164
  * Fixed: The P2 theme wasn't triggering new post or comment notifications.
165
  * Fixed: Sometimes the shortcode help link at the bottom of the notification editor wouldn't link to the help page properly.
3
  Tags: notifications, email, mail, alerts, roles, user, users, admin, HTML, plain, wp_mail, shortcode, customize, post, page, updated, pending review, scheduled, category, tag, term, custom post type, comment, akismet, trackback, pingback, lost password, welcome, new user, bulk, notice, trigger, CC, BCC, from
4
  Requires at least: 3.5
5
  Tested up to: 4.2.2
6
+ Stable tag: 1.3.2
7
  License: GPLv2 or later
8
 
9
  Send customisable HTML emails to your users for different WordPress notifications.
160
 
161
  == Changelog ==
162
 
163
+ = 1.3.2 =
164
+ * Fixed: Replaced a deprecated function which might cause a warning to show when `WP_DEBUG` was enabled.
165
+
166
  = 1.3.1 =
167
  * Fixed: The P2 theme wasn't triggering new post or comment notifications.
168
  * Fixed: Sometimes the shortcode help link at the bottom of the notification editor wouldn't link to the help page properly.
bnfw.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: http://wordpress.org/plugins/bnfw/
5
  * Description: Send customisable HTML emails to your users for different WordPress notifications.
6
- * Version: 1.3.1
7
  * Author: Voltronik
8
  * Author URI: http://www.voltronik.co.uk/
9
  * Author Email: plugins@voltronik.co.uk
@@ -94,7 +94,7 @@ class BNFW {
94
  register_activation_hook( __FILE__ , array( $this, 'activate' ) );
95
 
96
  // P2 theme directly inserts the post into db
97
- if ( 'P2' == get_current_theme() ) {
98
  add_action( 'wp_insert_post' , array( $this, 'insert_post' ), 10, 3 );
99
  }
100
 
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: http://wordpress.org/plugins/bnfw/
5
  * Description: Send customisable HTML emails to your users for different WordPress notifications.
6
+ * Version: 1.3.2
7
  * Author: Voltronik
8
  * Author URI: http://www.voltronik.co.uk/
9
  * Author Email: plugins@voltronik.co.uk
94
  register_activation_hook( __FILE__ , array( $this, 'activate' ) );
95
 
96
  // P2 theme directly inserts the post into db
97
+ if ( 'P2' == wp_get_theme() ) {
98
  add_action( 'wp_insert_post' , array( $this, 'insert_post' ), 10, 3 );
99
  }
100