Better Notifications for WordPress - Version 1.3.9.1

Version Description

  • 9th January 2016 =
  • Fixed: Missing shortcode link for new 'User Role Changed' notification.
  • Fixed: Duplicate 'User Role Changed' listing in the Notification select box.
Download this release

Release Info

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

Code changes from version 1.3.9 to 1.3.9.1

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.1
7
- Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ Send customisable emails to your users for different WordPress notifications.
12
 
13
  == Description ==
14
 
15
- > Recently updated to be even easier to use!
16
 
17
  Better Notifications for WordPress allows you to generate custom email notifications and send them to user roles (including custom roles) or individual users for all kinds of things happening on your WordPress website. Emails are sent out via your WordPress website (using `wp_mail`) but can be sent via SMTP using an appropriate 3rd party plugin should you wish.
18
 
@@ -21,7 +21,7 @@ https://www.youtube.com/watch?v=MxPUyRZPJ1Q
21
  = For example: =
22
  You want a user with the editor role (or all users using the Editor role) to be alerted via email when a new post is published and you'd like to customise it to include your branding along with the author's display name and post time - with this plugin, that's easy.
23
 
24
- > A long and handy list of shortcodes you can use is available [here](https://betternotificationsforwp.com/shortcodes/ "Shortcodes for use in Better Notifications for WordPress").
25
 
26
  Notifications that are currently available to use are:
27
 
@@ -47,6 +47,7 @@ Notifications that are currently available to use are:
47
  * Post Updated
48
  * Post Pending Review
49
  * Post Scheduled
 
50
 
51
  **Pages**
52
 
@@ -55,6 +56,7 @@ Notifications that are currently available to use are:
55
  * Page Pending Review
56
  * Page Scheduled
57
  * Page - New Comment
 
58
 
59
  **Posts**
60
 
@@ -65,15 +67,13 @@ Notifications that are currently available to use are:
65
 
66
  * New Term
67
 
68
- If you'd like to see a notification in the list above, please drop me a line in the forums and I'll see what I can do to add it.
69
-
70
- Having problems? Please let me know via this plugin's forum so I can address them and let it act as a source of information for future reference and other users.
71
 
72
  Like this plugin? Please leave it [a great review](https://wordpress.org/support/view/plugin-reviews/bnfw?rate=5#postform)!
73
- Don't think the plugin is worthy of 5 stars? Let me know on the forum and I'll do my best to help.
74
 
75
  > DISCLAIMER
76
- > This is an incredibly useful and highly rated plugin however, it's possible that overuse or abuse of this plugin could upset your users by sending them too many notifications. By downloading / installing / using this plugin, you take full responsibility of the management / quantity / types of notifications that are sent out from it including abiding by any SPAM laws in your country / operating areas, dealing with / responding to subscription / unsubscription requests, complaints, and so on. I accept no liability or responsibility for spam or abuse of this plugin from the user(s) of or anyone that may receive notifications as a result of the use of this plugin. I'm trusting you, please don't abuse your users.
77
 
78
 
79
 
@@ -95,7 +95,7 @@ Shortcodes are little blocks of content inserted by WordPress, contained in squa
95
 
96
  Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications, except for a select few (due to a restriction in WordPress).
97
 
98
- > A long and handy list of shortcodes you can use is available [here](https://betternotificationsforwp.com/shortcodes/ "Shortcodes for use in Better Notifications for WordPress").
99
 
100
  = What are some scenarios this plugin could be used for? =
101
 
@@ -176,6 +176,10 @@ It might do but this is untested.
176
 
177
  == Changelog ==
178
 
 
 
 
 
179
  = 1.3.9 - 9th January 2016 =
180
  * Happy New Year!
181
  * New: Transactional notification for when a User Role Changed. This is sent to the user when their User Role is changed.
@@ -197,7 +201,7 @@ It might do but this is untested.
197
  * Updated: select2.js library updated to v4.
198
  * Fixed: Compatibility with password reset notifications in WordPress 4.1.0 and below.
199
  * Fixed: An issue where the 'Tag' label was showing incorrectly in the 'All Notifications' screen.
200
- * I've added a short disclaimer to the [Description Tab](https://wordpress.org/plugins/bnfw/) regarding spam and overuse/abuse of this plugin which I recommend a quick read through.
201
 
202
  = 1.3.5 - 9th October 2015 =
203
  * Fixed: A large bug that was causing issues with Password URL shortcodes in the 'New User Registration - For User' and 'Password Reset - For User' notifications.
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.1
7
+ Stable tag: 1.3.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ > New add-ons are now available! [Buy Add-ons](https://betternotificationsforwp.com/store/)
16
 
17
  Better Notifications for WordPress allows you to generate custom email notifications and send them to user roles (including custom roles) or individual users for all kinds of things happening on your WordPress website. Emails are sent out via your WordPress website (using `wp_mail`) but can be sent via SMTP using an appropriate 3rd party plugin should you wish.
18
 
21
  = For example: =
22
  You want a user with the editor role (or all users using the Editor role) to be alerted via email when a new post is published and you'd like to customise it to include your branding along with the author's display name and post time - with this plugin, that's easy.
23
 
24
+ > A handy list of shortcodes you can use is available [here](https://betternotificationsforwp.com/shortcodes/ "Shortcodes for use in Better Notifications for WordPress").
25
 
26
  Notifications that are currently available to use are:
27
 
47
  * Post Updated
48
  * Post Pending Review
49
  * Post Scheduled
50
+ * Post - Custom Field Updated ([Add-on](https://betternotificationsforwp.com/downloads/custom-fields/))
51
 
52
  **Pages**
53
 
56
  * Page Pending Review
57
  * Page Scheduled
58
  * Page - New Comment
59
+ * Page - Custom Field Updated ([Add-on](https://betternotificationsforwp.com/downloads/custom-fields/))
60
 
61
  **Posts**
62
 
67
 
68
  * New Term
69
 
70
+ If you'd like to see a notification in the list above, please drop me a line in the forum and I'll see what I can do to add it.
 
 
71
 
72
  Like this plugin? Please leave it [a great review](https://wordpress.org/support/view/plugin-reviews/bnfw?rate=5#postform)!
73
+ Don't think the plugin is worthy of 5 stars? Having problems? Let me know in the [forum](https://wordpress.org/support/plugin/bnfw) and I'll do my best to help.
74
 
75
  > DISCLAIMER
76
+ > This is an incredibly useful and highly rated plugin however, it's possible that overuse or abuse of this plugin could upset your users by sending them too many notifications. By downloading / installing / using this plugin, you take full responsibility of the management / quantity / types of notifications that are sent out from it including abiding by any SPAM laws in your country / operating areas, dealing with / responding to subscription / unsubscription requests, complaints, and so on. I accept no liability or responsibility for SPAM or abuse of this plugin from the user(s) of or anyone that may receive notifications as a result of the use of this plugin. I'm trusting you, please don't abuse your users.
77
 
78
 
79
 
95
 
96
  Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications, except for a select few (due to a restriction in WordPress).
97
 
98
+ > A handy list of shortcodes you can use is available [here](https://betternotificationsforwp.com/shortcodes/ "Shortcodes for use in Better Notifications for WordPress").
99
 
100
  = What are some scenarios this plugin could be used for? =
101
 
176
 
177
  == Changelog ==
178
 
179
+ = 1.3.9.1 - 9th January 2016 =
180
+ * Fixed: Missing shortcode link for new 'User Role Changed' notification.
181
+ * Fixed: Duplicate 'User Role Changed' listing in the Notification select box.
182
+
183
  = 1.3.9 - 9th January 2016 =
184
  * Happy New Year!
185
  * New: Transactional notification for when a User Role Changed. This is sent to the user when their User Role is changed.
201
  * Updated: select2.js library updated to v4.
202
  * Fixed: Compatibility with password reset notifications in WordPress 4.1.0 and below.
203
  * Fixed: An issue where the 'Tag' label was showing incorrectly in the 'All Notifications' screen.
204
+ * I've added a short disclaimer to the [Description Tab](https://wordpress.org/plugins/bnfw/) regarding SPAM and overuse/abuse of this plugin which I recommend a quick read through.
205
 
206
  = 1.3.5 - 9th October 2015 =
207
  * Fixed: A large bug that was causing issues with Password URL shortcodes in the 'New User Registration - For User' and 'Password Reset - For User' notifications.
assets/js/bnfw.js CHANGED
@@ -126,6 +126,7 @@ jQuery(document).ready(function($) {
126
  case 'admin-password':
127
  case 'new-user':
128
  case 'welcome-email':
 
129
  case 'admin-user':
130
  case 'new-post':
131
  case 'update-post':
126
  case 'admin-password':
127
  case 'new-user':
128
  case 'welcome-email':
129
+ case 'user-role':
130
  case 'admin-user':
131
  case 'new-post':
132
  case 'update-post':
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
7
  * Author: Voltronik
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: plugins@voltronik.co.uk
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.1
7
  * Author: Voltronik
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: plugins@voltronik.co.uk
includes/admin/class-bnfw-notification.php CHANGED
@@ -171,9 +171,6 @@ class BNFW_Notification {
171
  <option value="user-role" <?php selected( 'user-role', $setting['notification'] );?>><?php _e( 'User Role Changed', 'bnfw' );?></option>
172
  <option value="reply-comment" <?php selected( 'reply-comment', $setting['notification'] );?>><?php _e( 'Comment Reply', 'bnfw' );?></option>
173
  </optgroup>
174
- <optgroup label="Others">
175
- <option value="user-role" <?php selected( 'user-role', $setting['notification'] );?>><?php _e( 'User Role Changed', 'bnfw' );?></option>
176
- </optgroup>
177
  <optgroup label="Posts">
178
  <option value="new-post" <?php selected( 'new-post', $setting['notification'] );?>><?php _e( 'New Post Published', 'bnfw' );?></option>
179
  <option value="update-post" <?php selected( 'update-post', $setting['notification'] );?>><?php _e( 'Post Updated', 'bnfw' );?></option>
171
  <option value="user-role" <?php selected( 'user-role', $setting['notification'] );?>><?php _e( 'User Role Changed', 'bnfw' );?></option>
172
  <option value="reply-comment" <?php selected( 'reply-comment', $setting['notification'] );?>><?php _e( 'Comment Reply', 'bnfw' );?></option>
173
  </optgroup>
 
 
 
174
  <optgroup label="Posts">
175
  <option value="new-post" <?php selected( 'new-post', $setting['notification'] );?>><?php _e( 'New Post Published', 'bnfw' );?></option>
176
  <option value="update-post" <?php selected( 'update-post', $setting['notification'] );?>><?php _e( 'Post Updated', 'bnfw' );?></option>