Better Notifications for WordPress - Version 1.3.9.5

Version Description

  • 26th February 2016 =
  • Fixed: New Post Published notifications were triggering multiple times due to auto_draft_to_publish.
Download this release

Release Info

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

Code changes from version 1.3.9.4 to 1.3.9.5

Files changed (2) hide show
  1. README.txt +5 -2
  2. bnfw.php +1 -2
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://betternotificationsforwp.com/donate/
4
  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, author
5
  Requires at least: 3.5
6
  Tested up to: 4.4.2
7
- Stable tag: 1.3.9.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -190,12 +190,15 @@ An older version might work but this is untested. A lot of the newer features re
190
 
191
  == Changelog ==
192
 
 
 
 
193
  = 1.3.9.4 - 15th February 2016 =
194
  * Filter improvements for the new [Per-post Override add-on](https://betternotificationsforwp.com/downloads/per-post-override/).
195
 
196
  = 1.3.9.3 - 12th February 2016 =
197
  * General bug fixes and updates relating to future add-ons and the new [Per-post Override add-on](https://betternotificationsforwp.com/downloads/per-post-override/) which allows you to override your notifications for each post / page / custom post.
198
- * Added: New Post Published notifications now trigger on `auto_draft_to_publish`. This may or may not effect you if you use a publish through a front-end form or from an app.
199
 
200
  = 1.3.9.2 - 29th January 2016 =
201
  * The [Add-on Store](https://betternotificationsforwp.com/store/) is now live! Looking for some extra, premium functionality in your notifications? You might find an add-on for it!
4
  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, author
5
  Requires at least: 3.5
6
  Tested up to: 4.4.2
7
+ Stable tag: 1.3.9.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
190
 
191
  == Changelog ==
192
 
193
+ = 1.3.9.5 - 26th February 2016 =
194
+ * Fixed: New Post Published notifications were triggering multiple times due to `auto_draft_to_publish`.
195
+
196
  = 1.3.9.4 - 15th February 2016 =
197
  * Filter improvements for the new [Per-post Override add-on](https://betternotificationsforwp.com/downloads/per-post-override/).
198
 
199
  = 1.3.9.3 - 12th February 2016 =
200
  * General bug fixes and updates relating to future add-ons and the new [Per-post Override add-on](https://betternotificationsforwp.com/downloads/per-post-override/) which allows you to override your notifications for each post / page / custom post.
201
+ * Added: New Post Published notifications now trigger on `auto_draft_to_publish`. This may or may not effect you if you publish through a front-end form or from an app.
202
 
203
  = 1.3.9.2 - 29th January 2016 =
204
  * The [Add-on Store](https://betternotificationsforwp.com/store/) is now live! Looking for some extra, premium functionality in your notifications? You might find an add-on for it!
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 emails to your users for different WordPress notifications.
6
- * Version: 1.3.9.4
7
  * Author: Voltronik
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: plugins@voltronik.co.uk
@@ -115,7 +115,6 @@ class BNFW {
115
  add_action( 'wp_insert_post' , array( $this, 'insert_post' ), 10, 3 );
116
  }
117
 
118
- add_action( 'auto-draft_to_publish' , array( $this, 'publish_post' ) );
119
  add_action( 'draft_to_publish' , array( $this, 'publish_post' ) );
120
  add_action( 'future_to_publish' , array( $this, 'publish_post' ) );
121
  add_action( 'pending_to_publish' , array( $this, 'publish_post' ) );
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: http://wordpress.org/plugins/bnfw/
5
  * Description: Send customisable emails to your users for different WordPress notifications.
6
+ * Version: 1.3.9.5
7
  * Author: Voltronik
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: plugins@voltronik.co.uk
115
  add_action( 'wp_insert_post' , array( $this, 'insert_post' ), 10, 3 );
116
  }
117
 
 
118
  add_action( 'draft_to_publish' , array( $this, 'publish_post' ) );
119
  add_action( 'future_to_publish' , array( $this, 'publish_post' ) );
120
  add_action( 'pending_to_publish' , array( $this, 'publish_post' ) );