Better Notifications for WordPress - Version 1.6.11

Version Description

  • 13th February 2018 =
  • Fixed: Update Reminder and Custom Field Updated notifications weren't showing for custom post types.
Download this release

Release Info

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

Code changes from version 1.6.10 to 1.6.11

README.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: voltronik
3
  Donate link: https://betternotificationsforwp.com/donate/
4
  Tags: notification, email, push, sms, alert, HTML, customize, bulk, trigger, CC, BCC
5
  Requires at least: 3.5
6
- Tested up to: 4.9.2
7
  Requires PHP: 5.6
8
- Stable tag: 1.6.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -15,16 +15,16 @@ Supercharge your WordPress notifications using a WYSIWYG editor and shortcodes.
15
 
16
  Better Notifications for WordPress is a simple but powerful plugin for beginners to advanced users that allows you to customise the email notifications that WordPress sends using the WYSIWYG editor and shortcodes. All of the default WordPress email notifications are available to customise as well as lots of new ones. You can choose to send notifications to individual users, multiple users, all users in a user role, multiple roles - you name it! You can also power-up your notifications with [Premium Add-ons](https://betternotificationsforwp.com/store/). 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.
17
 
18
- Here's a quick walkthrough of the plugin in action:
19
  [youtube https://www.youtube.com/watch?v=MxPUyRZPJ1Q]
20
 
21
  = An Example: =
22
- You want all the users in the Editor role to be notified via email when a new post is published and you'd like to customise it to include your logo along with the author's name and date / time it was published - 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
  = Premium Add-ons =
27
- Power-up your notifications using add-ons:
28
 
29
  [Conditional Notifications](https://betternotificationsforwp.com/downloads/conditional-notifications/) - Limit certain notifications depending on which categories, tags, post formats, or terms you choose.
30
 
@@ -40,8 +40,8 @@ Power-up your notifications using add-ons:
40
 
41
  ...and more coming soon!
42
 
43
- = Notifications =
44
- The notifications that are currently available to use are:
45
 
46
  **WordPress Defaults**
47
 
@@ -52,7 +52,7 @@ The notifications that are currently available to use are:
52
  * New User Registration - For Admin
53
  * Password Changed - For Admin
54
  * User Role Changed - For Admin
55
- * WordPress Core Automatic Background Updates
56
 
57
  **Transactional**
58
 
@@ -123,9 +123,9 @@ If you'd like to see a notification in the list above, please drop me a line in
123
 
124
  > Full Documentation for BNFW can be found [here](https://betternotificationsforwp.com/documentation/ "Documentation for Better Notifications for WordPress").
125
 
126
- = What are shortcodes? Where can I use them in this plugin? =
127
 
128
- Shortcodes are text in square brackets that output content of some kind. For example, if you want to add the content of a post to a notification for 'New Post Published', you can use the `[post_content]` shortcode to display this in the email that is sent out.
129
 
130
  Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications, except for a select few (due to a restriction in WordPress).
131
 
@@ -133,12 +133,12 @@ Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications
133
 
134
  = What are some scenarios this plugin could be used for? =
135
 
136
- * Outreach: A blog/news site with hundreds of subscribers and want to use it to alert them of new blog posts.
137
  * Communication: A small, internal WordPress site and use it to alert staff of new posts or comments.
138
  * Monitor: A website for an awesome new product or service and use it for notifications of pingbacks and trackbacks.
139
  * Security: To receive alerts of password reset requests and their corresponding user.
140
 
141
- The possibilities are endless!
142
 
143
  = Does this plugin work with anti-spam plugins, such as Akismet? =
144
 
@@ -146,7 +146,7 @@ Yes! There is an option for suppressing comments marked as SPAM in the plugin se
146
 
147
  = Does this plugin work with Multisite? =
148
 
149
- Yes and no - some notifications work, others don't, and some are missing entirely. I do plan on adding full Multisite support at a later date however, this will be in the form of an add-on.
150
 
151
  = What isn't this plugin? =
152
 
@@ -158,7 +158,7 @@ First of all, follow [this article](https://betternotificationsforwp.com/how-can
158
 
159
  Many hosts place a limit on the number of emails that can be sent out within an hour so this may also cause some delay in emails arriving. [This article](https://support.mailpoet.com/knowledgebase/lists-of-hosts-and-their-sending-limits/) has a fairly extensive list of hosts and their corresponding email rate limits that's worth checking out. Alternatively, please check with your host directly to find out what your limit is.
160
 
161
- If you're still having problems, please drop me a line in the [Free Support Forums](https://wordpress.org/support/plugin/bnfw) and I'll do my best to help.
162
 
163
  = Some of my shortcodes aren't working! =
164
 
@@ -174,13 +174,13 @@ WordPress, by default, sends all emails in Plain Text. If you'd like to include
174
 
175
  = Custom Post Type 'X' isn't showing in the list of available custom post types =
176
 
177
- This is most likely because it's `public` setting is set to `false`. Try changing this and see if it shows up in the list. If the custom post type has been created by a plugin and is set to private (such as [TablePress](https://wordpress.org/plugins/tablepress/ "TablePress")), you'll need to get in touch with the plugin author to see if they'll consider changing it to public instead so that BNFW can send out notifications for it.
178
 
179
  = Can I translate this plugin? =
180
 
181
  Yes, of course! The plugin is completely translation-friendly and if you send me your .po file, I'll make sure to include it in the plugin and credit you in the changelog.
182
 
183
- = Will this plugin work with versions of WordPress less than 3.5? =
184
 
185
  An older version might work but this is untested. A lot of the newer features require WordPress 4.0 and above.
186
 
@@ -198,6 +198,9 @@ An older version might work but this is untested. A lot of the newer features re
198
 
199
  == Changelog ==
200
 
 
 
 
201
  = 1.6.10 - 31st January 2018 =
202
  * New: Faster customisation! You can now add the subject and message body from a default WordPress email to notifications. Just choose a default WordPress email and click the 'Insert Default Content' button next to the WYSIWYG editor when adding or editing a notification.
203
  * New: If you want to allow other user roles to create or edit notifications, you can now grant them the 'bnfw' capability using a role editor.
@@ -233,14 +236,14 @@ An older version might work but this is untested. A lot of the newer features re
233
 
234
  = 1.6.6 - 28th June 2017 =
235
  * Fixed: New Comments on Custom Post Types weren't always sending notifications.
236
- * Fixed: An issue where using the `bnfw_trigger_insert_post()` filter wasn't always working correctly.
237
- * Fixed: An issue where checking a notification was disabled wasn't always working correctly.
238
  * Added: Support for limiting 'New User Registration - For User' notifications to specific user roles in the recently updated [Conditional Notifications add-on](https://betternotificationsforwp.com/downloads/conditional-notifications/).
239
  * Added: Support for huge logic enhancements to the soon to be updated [Global Override add-on](https://betternotificationsforwp.com/downloads/per-post-override/).
240
  * Added: Support for the new 'User Login Reminder' notification in the soon to be updated [Reminders add-on](https://betternotificationsforwp.com/downloads/update-reminder/).
241
 
242
  = 1.6.5 - 18th May 2017 =
243
- * New: ACF Form compatibility has now been re-added! Props to @elliotcondon for the help.
244
  * Remember to subscribe to the [mailing list](http://voltronik.us2.list-manage2.com/subscribe?u=57c012217219b2d81dda0085f&id=28eebdab28) if you want to be notified of new add-ons for BNFW and receive 10% off your first add-on purchase.
245
 
246
  = 1.6.4 - 18th April 2017 =
@@ -257,24 +260,24 @@ An older version might work but this is untested. A lot of the newer features re
257
  * Updated: French translation (props @matcho).
258
  * Improved: The 'Lost Password' notifications now begin with 'User Lost Password' to make them easier to understand.
259
  * Fixed: The 'Reply To' fields weren't saving correctly.
260
- * Fixed: Ensure post shortcodes are rendered before sending (props @cliffpaulick).
261
- * Fixed: A minor issue with the custom field selection box when using the [Custom Fields add-on](https://betternotificationsforwp.com/downloads/custom-fields/).
262
 
263
  = 1.6.2 - 17th February 2017 =
264
  * Fixed: The 'Shortcode Help' button wasn't working correctly for some of the new notifications.
265
 
266
  = 1.6.1 - 17th February 2017 =
267
- * New & Improved: The 'Password Changed - For User', 'Password Changed - For Admin', and 'User Email Changed - For User' notifications have now been fully implemented.
268
  * New: You can now use `[post_term taxonomy="TAXONOMY_NAME"]` to output the term(s) from the chosen taxonomy.
269
- * Improved: Any anti-SPAM plugin should now work with BNFW, not just Akismet.
270
  * Improved: Emails sent via the "Send me a Test Email" button now prepend the Subject line with "Test Email: " so that you can tell which is a test notification and which is a real notification when using an email log plugin.
271
- * Fixed: The Global User Shortcodes weren't outputting anything when used in the 'User Email Changed - For User' notification.
272
  Fixed: When a 'Lost Password – For User' notification had been set-up but disabled, it wasn't disabling the default WordPress notification.
273
- * Fixed: The 'WordPress Core Automatic Background Updates' notification wasn't working at all.
274
- * Fixed: The Global User Shortcodes were being output incorrectly in test emails.
275
  * Fixed: The `[featured_image]` shortcode was outputting the shortcode name as opposed to a blank when no featured image is set.
276
- * Fixed: A number of warnings and notices relating to the 'Lost Password' notifications when on WordPress's Lost Password screen.
277
- * Fixed: The 'Add-on Licenses' screen was displaying HTML characters where there shouldn't be any.
278
  * Fixed: An error was occurring when triggering notifications when used in conjunction with the latest version of the Custom Fields add-on.
279
  * Fixed: Some language translation strings were incorrect.
280
  * Updated: EDD_SL_Plugin_Updater is now at the latest version for add-ons.
@@ -315,11 +318,11 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
315
  * New: Global Site Shortcodes! Include these in any notification to output the site title (`[global_site_title]`), site tagline (`[global_site_tagline]`), or site URL (`[global_site_url]`).
316
  * New: Global User Shortcodes! Include these in any notification to output the user's first name (`[global_user_firstname]`), user's last name (`[global_user_lastname]`), or user's email address (`[global_user_email]`).
317
  * New: The 'User Role Changed' notification has been split into two transactional notifications - one that can be sent to users and one that can be sent to admins.
318
- * New: Shortcode `[featured_image]`. Outputs the URL for the featured image (if one is available).
319
  * New: Shortcode `[user_avatar]`. Outputs the User's avatar when used in a capable notification.
320
  * New: Shortcode `[commenter_avatar]`. Outputs the comment author's avatar for comment-based notifications.
321
  * Improved: 'Comment Reply' notifications are now available to use for Pages and Custom Post Types.
322
- * Improved: When sending notifications to user roles in the 'To' field, it will now show how many users are in that role.
323
  * Improved: The 'Lost Password - For User', 'User Role Changed - For Admin', and 'User Role Changed - For User' notifications now have the option to 'Stop additional paragraph and line break HTML from being inserted into my notifications' via the checkbox below the WYSIWYG editor on the Add New / Edit Notification screen.
324
 
325
  = 1.4.1 - 3rd June 2016 =
@@ -335,14 +338,14 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
335
  * New: Shortcode `[edit_post]`. Outputs the link to edit the post / page / custom post.
336
  * New: Shortcode `[post_parent_permalink]`. Outputs a permalink to the post / page / custom post's parent item.
337
  * New: Shortcode `[author_link]`. Outputs a link to the post / page / custom post's author archive.
338
- * New: You can now add the collection of User Shortcodes to the 'Lost Password - For User' email.
339
  * New: Support for the 'O2' plugin, when used in conjunction with the 'P2' Theme via a filter. Please see the [documentation](https://betternotificationsforwp.com/documentation/) for details.
340
  * Improved: Users were getting confused with the 'Welcome Email', thinking it operated like that in the 'SB Welcome Email Editor' plugin. The name of this notification has been changed from 'New User - Welcome Email' to 'New User - Post-registration Email' to help differentiate its functionality in BNFW.
341
- * Improved: The screen where you add your license(s) after purchasing any BNFW add-on(s) is now called 'Add-on Licenses', instead of going to 'Settings' and adding them there.
342
  * Improved: Setting a notification to send to 'the author only' now shows a label in the 'User Roles / Users' column in the 'All Notifications' screen.
343
  * Improved: 'New Comment / Awaiting Moderation', 'New Trackback', and 'New Pingback' notifications now show the 'Send this notification to the Author only' checkbox.
344
- * Improved: If a notification is present but disabled, the default WordPress notification (if there is one), will not be sent.
345
- * Fixed: New Post Published notifications weren't being sent if you had the Per-post Override add-on installed.
346
 
347
  = 1.3.9.5 - 26th February 2016 =
348
  * Fixed: New Post Published notifications were triggering multiple times due to `auto_draft_to_publish`.
@@ -357,7 +360,7 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
357
  = 1.3.9.2 - 29th January 2016 =
358
  * 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!
359
  * New: A filter is now available for adding compatibility to themes for creating posts using `wp_insert_post`. Please see the bottom of the [FAQ](https://wordpress.org/plugins/bnfw/faq/) for details.
360
- * Fixed: 'User Role Changed' notifications were being triggered for new users.
361
  * Fixed: The label for custom taxonomies was showing in the Notification select box even if you didn't have any.
362
  * Fixed: A warning was showing when no 'CC' or 'BCC' details were added but the 'Name' and 'From' details were specified.
363
  * Fixed: A warning was showing after a taxonomy was deleted but a notification existed for it.
@@ -394,12 +397,12 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
394
 
395
  = 1.3.5 - 9th October 2015 =
396
  * 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.
397
- * Fixed: An issue where the 'disabled wpautop' checkbox was appearing on transactional emails.
398
  * Fixed: Some labels in the 'All Notifications' screen weren't formatted correctly.
399
  * Fixed: Translations weren't referenced correctly. Auto-translation will be [done by WordPress.org automatically](https://make.wordpress.org/plugins/2015/09/01/plugin-translations-on-wordpress-org/) at some point in the future.
400
 
401
  = 1.3.4 - 2nd October 2015 =
402
- * New: Choose automatic or manual paragraph / line breaks in the WYSIWYG editor. This fixes an issue where they were inserted automatically when they weren't desired. The checkbox for this is below the WYSIWYG editor.
403
  * New: You can now add images to your notifications using the 'Add Media' button above the WYSIWYG editor.
404
  * New: Portuguese Brazil translation for v1.3.3 (props Glayton Caixeta).
405
  * New: BNFW now has it's own [website](https://betternotificationsforwp.com/)!
@@ -428,25 +431,25 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
428
  * Fixed: Replaced a deprecated function which might cause a warning to show when `WP_DEBUG` was enabled.
429
 
430
  = 1.3.1 - 18th July 2015 =
431
- * Fixed: The P2 theme wasn't triggering new post or comment notifications.
432
- * Fixed: Sometimes the shortcode help link at the bottom of the notification editor wouldn't link to the help page properly.
433
 
434
  = 1.3 - 2nd July 2015 =
435
  * New: Option to disable notifications going to the user that triggered them.
436
- * New: Comment Reply Notification. This is a transactional notification that will only trigger when replying to the original comment (i.e. Up to 2-levels deep).
437
- * New: New Shortcode: Update Author. Use `[post_update_author]` in any Post or Page notifications to see which user updated the post.
438
  * New: Choose between sending the notification as plain text or HTML.
439
  * New: A basic implementation of shortcode help has been added into the plugin. Click the link below the message body editor to see which shortcodes can be used for the currently selected notification.
440
  * Improved: The 'New User Registration' (For Admin & User) and 'Welcome Email' notifications now allow you to use all of the 'User' shortcodes.
441
  * Fixed: Formatting in emails sent from other plugins were being effected by BNFW.
442
- * Fixed: Notifications for Categories, Terms and Tags weren't getting triggered.
443
  * Fixed: Notifications weren't getting triggered when using the P2 theme (please see the [FAQ](https://wordpress.org/plugins/bnfw/faq/) for more information about this).
444
  * Fixed: Additional Email fields were being shown for transactional notifications that couldn't use them.
445
 
446
  = 1.2 - 19th May 2015 =
447
  * New: WYSIWYG Editor for notifications!
448
  * New: From Name, From Email, CC and BCC options are now available to use for each notification!
449
- * New: 'Send Me a Test Email' button. Save your notification first and then send yourself a test email! This will only go to you and not to any of the other users selected in the notification. Shortcodes will not be expanded but will be shown in place.
450
  * Improved: The User Role / Users drop down box has been unified for simplicity.
451
  * Fixed: Lost Password (For User) notifications were being sent in plain text.
452
  * Fixed: Not all custom post types were showing when setting up a new notification.
@@ -460,10 +463,10 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
460
 
461
  = 1.1.5.2 - 15th April 2015 =
462
  * Fixed: Custom Post Type Pending Posts not being sent.
463
- * Fixed: Post excerpt not outputting anything.
464
- * Removed: `[closedpostboxes_page], [rich_editing], and [admin_color]` as was a bit defunct and causing issues.
465
- * Changed: `[post_author]` now outputs the display name instead of the author ID.
466
- * Improved: Clarity of custom post type and taxonomy labels.
467
 
468
  = 1.1.5.1 - 13th April 2015 =
469
  * Fix for Custom Post Type notifications not populating shortcodes.
@@ -530,5 +533,5 @@ Fixed: When a 'Lost Password – For User' notification had been set-up but disa
530
 
531
  = Migrating from 0.2.1 to 1.0 =
532
 
533
- Version 1 features an auto-importer which should migrate all of your notifications from any previous versions of the plugin to 1.0.
534
  Please ensure that you check, double check and test your notifications before and after upgrading.
3
  Donate link: https://betternotificationsforwp.com/donate/
4
  Tags: notification, email, push, sms, alert, HTML, customize, bulk, trigger, CC, BCC
5
  Requires at least: 3.5
6
+ Tested up to: 4.9.4
7
  Requires PHP: 5.6
8
+ Stable tag: 1.6.11
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
15
 
16
  Better Notifications for WordPress is a simple but powerful plugin for beginners to advanced users that allows you to customise the email notifications that WordPress sends using the WYSIWYG editor and shortcodes. All of the default WordPress email notifications are available to customise as well as lots of new ones. You can choose to send notifications to individual users, multiple users, all users in a user role, multiple roles - you name it! You can also power-up your notifications with [Premium Add-ons](https://betternotificationsforwp.com/store/). 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.
17
 
18
+ Here's a quick walkthrough of the plugin in action:
19
  [youtube https://www.youtube.com/watch?v=MxPUyRZPJ1Q]
20
 
21
  = An Example: =
22
+ You want all the users in the Editor role to be notified via email when a new post is published and you'd like to customise it to include your logo along with the author's name and date / time it was published - 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
  = Premium Add-ons =
27
+ Power-up your notifications using add-ons:
28
 
29
  [Conditional Notifications](https://betternotificationsforwp.com/downloads/conditional-notifications/) - Limit certain notifications depending on which categories, tags, post formats, or terms you choose.
30
 
40
 
41
  ...and more coming soon!
42
 
43
+ = Notifications =
44
+ The notifications that are currently available to use are:
45
 
46
  **WordPress Defaults**
47
 
52
  * New User Registration - For Admin
53
  * Password Changed - For Admin
54
  * User Role Changed - For Admin
55
+ * WordPress Core Automatic Background Updates
56
 
57
  **Transactional**
58
 
123
 
124
  > Full Documentation for BNFW can be found [here](https://betternotificationsforwp.com/documentation/ "Documentation for Better Notifications for WordPress").
125
 
126
+ = What are shortcodes? Where can I use them in this plugin? =
127
 
128
+ Shortcodes are text in square brackets that output content of some kind. For example, if you want to add the content of a post to a notification for 'New Post Published', you can use the `[post_content]` shortcode to display this in the email that is sent out.
129
 
130
  Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications, except for a select few (due to a restriction in WordPress).
131
 
133
 
134
  = What are some scenarios this plugin could be used for? =
135
 
136
+ * Outreach: A blog/news site with hundreds of subscribers and want to use it to alert them of new blog posts.
137
  * Communication: A small, internal WordPress site and use it to alert staff of new posts or comments.
138
  * Monitor: A website for an awesome new product or service and use it for notifications of pingbacks and trackbacks.
139
  * Security: To receive alerts of password reset requests and their corresponding user.
140
 
141
+ The possibilities are endless!
142
 
143
  = Does this plugin work with anti-spam plugins, such as Akismet? =
144
 
146
 
147
  = Does this plugin work with Multisite? =
148
 
149
+ Yes and no - some notifications work, others don't, and some are missing entirely. I do plan on adding full Multisite support at a later date however, this will be in the form of an add-on.
150
 
151
  = What isn't this plugin? =
152
 
158
 
159
  Many hosts place a limit on the number of emails that can be sent out within an hour so this may also cause some delay in emails arriving. [This article](https://support.mailpoet.com/knowledgebase/lists-of-hosts-and-their-sending-limits/) has a fairly extensive list of hosts and their corresponding email rate limits that's worth checking out. Alternatively, please check with your host directly to find out what your limit is.
160
 
161
+ If you're still having problems, please drop me a line in the [Free Support Forums](https://wordpress.org/support/plugin/bnfw) and I'll do my best to help.
162
 
163
  = Some of my shortcodes aren't working! =
164
 
174
 
175
  = Custom Post Type 'X' isn't showing in the list of available custom post types =
176
 
177
+ This is most likely because it's `public` setting is set to `false`. Try changing this and see if it shows up in the list. If the custom post type has been created by a plugin and is set to private (such as [TablePress](https://wordpress.org/plugins/tablepress/ "TablePress")), you'll need to get in touch with the plugin author to see if they'll consider changing it to public instead so that BNFW can send out notifications for it.
178
 
179
  = Can I translate this plugin? =
180
 
181
  Yes, of course! The plugin is completely translation-friendly and if you send me your .po file, I'll make sure to include it in the plugin and credit you in the changelog.
182
 
183
+ = Will this plugin work with versions of WordPress less than 3.5? =
184
 
185
  An older version might work but this is untested. A lot of the newer features require WordPress 4.0 and above.
186
 
198
 
199
  == Changelog ==
200
 
201
+ = 1.6.11 - 13th February 2018 =
202
+ * Fixed: Update Reminder and Custom Field Updated notifications weren't showing for custom post types.
203
+
204
  = 1.6.10 - 31st January 2018 =
205
  * New: Faster customisation! You can now add the subject and message body from a default WordPress email to notifications. Just choose a default WordPress email and click the 'Insert Default Content' button next to the WYSIWYG editor when adding or editing a notification.
206
  * New: If you want to allow other user roles to create or edit notifications, you can now grant them the 'bnfw' capability using a role editor.
236
 
237
  = 1.6.6 - 28th June 2017 =
238
  * Fixed: New Comments on Custom Post Types weren't always sending notifications.
239
+ * Fixed: An issue where using the `bnfw_trigger_insert_post()` filter wasn't always working correctly.
240
+ * Fixed: An issue where checking a notification was disabled wasn't always working correctly.
241
  * Added: Support for limiting 'New User Registration - For User' notifications to specific user roles in the recently updated [Conditional Notifications add-on](https://betternotificationsforwp.com/downloads/conditional-notifications/).
242
  * Added: Support for huge logic enhancements to the soon to be updated [Global Override add-on](https://betternotificationsforwp.com/downloads/per-post-override/).
243
  * Added: Support for the new 'User Login Reminder' notification in the soon to be updated [Reminders add-on](https://betternotificationsforwp.com/downloads/update-reminder/).
244
 
245
  = 1.6.5 - 18th May 2017 =
246
+ * New: ACF Form compatibility has now been re-added! Props to @elliotcondon for the help.
247
  * Remember to subscribe to the [mailing list](http://voltronik.us2.list-manage2.com/subscribe?u=57c012217219b2d81dda0085f&id=28eebdab28) if you want to be notified of new add-ons for BNFW and receive 10% off your first add-on purchase.
248
 
249
  = 1.6.4 - 18th April 2017 =
260
  * Updated: French translation (props @matcho).
261
  * Improved: The 'Lost Password' notifications now begin with 'User Lost Password' to make them easier to understand.
262
  * Fixed: The 'Reply To' fields weren't saving correctly.
263
+ * Fixed: Ensure post shortcodes are rendered before sending (props @cliffpaulick).
264
+ * Fixed: A minor issue with the custom field selection box when using the [Custom Fields add-on](https://betternotificationsforwp.com/downloads/custom-fields/).
265
 
266
  = 1.6.2 - 17th February 2017 =
267
  * Fixed: The 'Shortcode Help' button wasn't working correctly for some of the new notifications.
268
 
269
  = 1.6.1 - 17th February 2017 =
270
+ * New & Improved: The 'Password Changed - For User', 'Password Changed - For Admin', and 'User Email Changed - For User' notifications have now been fully implemented.
271
  * New: You can now use `[post_term taxonomy="TAXONOMY_NAME"]` to output the term(s) from the chosen taxonomy.
272
+ * Improved: Any anti-SPAM plugin should now work with BNFW, not just Akismet.
273
  * Improved: Emails sent via the "Send me a Test Email" button now prepend the Subject line with "Test Email: " so that you can tell which is a test notification and which is a real notification when using an email log plugin.
274
+ * Fixed: The Global User Shortcodes weren't outputting anything when used in the 'User Email Changed - For User' notification.
275
  Fixed: When a 'Lost Password – For User' notification had been set-up but disabled, it wasn't disabling the default WordPress notification.
276
+ * Fixed: The 'WordPress Core Automatic Background Updates' notification wasn't working at all.
277
+ * Fixed: The Global User Shortcodes were being output incorrectly in test emails.
278
  * Fixed: The `[featured_image]` shortcode was outputting the shortcode name as opposed to a blank when no featured image is set.
279
+ * Fixed: A number of warnings and notices relating to the 'Lost Password' notifications when on WordPress's Lost Password screen.
280
+ * Fixed: The 'Add-on Licenses' screen was displaying HTML characters where there shouldn't be any.
281
  * Fixed: An error was occurring when triggering notifications when used in conjunction with the latest version of the Custom Fields add-on.
282
  * Fixed: Some language translation strings were incorrect.
283
  * Updated: EDD_SL_Plugin_Updater is now at the latest version for add-ons.
318
  * New: Global Site Shortcodes! Include these in any notification to output the site title (`[global_site_title]`), site tagline (`[global_site_tagline]`), or site URL (`[global_site_url]`).
319
  * New: Global User Shortcodes! Include these in any notification to output the user's first name (`[global_user_firstname]`), user's last name (`[global_user_lastname]`), or user's email address (`[global_user_email]`).
320
  * New: The 'User Role Changed' notification has been split into two transactional notifications - one that can be sent to users and one that can be sent to admins.
321
+ * New: Shortcode `[featured_image]`. Outputs the URL for the featured image (if one is available).
322
  * New: Shortcode `[user_avatar]`. Outputs the User's avatar when used in a capable notification.
323
  * New: Shortcode `[commenter_avatar]`. Outputs the comment author's avatar for comment-based notifications.
324
  * Improved: 'Comment Reply' notifications are now available to use for Pages and Custom Post Types.
325
+ * Improved: When sending notifications to user roles in the 'To' field, it will now show how many users are in that role.
326
  * Improved: The 'Lost Password - For User', 'User Role Changed - For Admin', and 'User Role Changed - For User' notifications now have the option to 'Stop additional paragraph and line break HTML from being inserted into my notifications' via the checkbox below the WYSIWYG editor on the Add New / Edit Notification screen.
327
 
328
  = 1.4.1 - 3rd June 2016 =
338
  * New: Shortcode `[edit_post]`. Outputs the link to edit the post / page / custom post.
339
  * New: Shortcode `[post_parent_permalink]`. Outputs a permalink to the post / page / custom post's parent item.
340
  * New: Shortcode `[author_link]`. Outputs a link to the post / page / custom post's author archive.
341
+ * New: You can now add the collection of User Shortcodes to the 'Lost Password - For User' email.
342
  * New: Support for the 'O2' plugin, when used in conjunction with the 'P2' Theme via a filter. Please see the [documentation](https://betternotificationsforwp.com/documentation/) for details.
343
  * Improved: Users were getting confused with the 'Welcome Email', thinking it operated like that in the 'SB Welcome Email Editor' plugin. The name of this notification has been changed from 'New User - Welcome Email' to 'New User - Post-registration Email' to help differentiate its functionality in BNFW.
344
+ * Improved: The screen where you add your license(s) after purchasing any BNFW add-on(s) is now called 'Add-on Licenses', instead of going to 'Settings' and adding them there.
345
  * Improved: Setting a notification to send to 'the author only' now shows a label in the 'User Roles / Users' column in the 'All Notifications' screen.
346
  * Improved: 'New Comment / Awaiting Moderation', 'New Trackback', and 'New Pingback' notifications now show the 'Send this notification to the Author only' checkbox.
347
+ * Improved: If a notification is present but disabled, the default WordPress notification (if there is one), will not be sent.
348
+ * Fixed: New Post Published notifications weren't being sent if you had the Per-post Override add-on installed.
349
 
350
  = 1.3.9.5 - 26th February 2016 =
351
  * Fixed: New Post Published notifications were triggering multiple times due to `auto_draft_to_publish`.
360
  = 1.3.9.2 - 29th January 2016 =
361
  * 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!
362
  * New: A filter is now available for adding compatibility to themes for creating posts using `wp_insert_post`. Please see the bottom of the [FAQ](https://wordpress.org/plugins/bnfw/faq/) for details.
363
+ * Fixed: 'User Role Changed' notifications were being triggered for new users.
364
  * Fixed: The label for custom taxonomies was showing in the Notification select box even if you didn't have any.
365
  * Fixed: A warning was showing when no 'CC' or 'BCC' details were added but the 'Name' and 'From' details were specified.
366
  * Fixed: A warning was showing after a taxonomy was deleted but a notification existed for it.
397
 
398
  = 1.3.5 - 9th October 2015 =
399
  * 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.
400
+ * Fixed: An issue where the 'disabled wpautop' checkbox was appearing on transactional emails.
401
  * Fixed: Some labels in the 'All Notifications' screen weren't formatted correctly.
402
  * Fixed: Translations weren't referenced correctly. Auto-translation will be [done by WordPress.org automatically](https://make.wordpress.org/plugins/2015/09/01/plugin-translations-on-wordpress-org/) at some point in the future.
403
 
404
  = 1.3.4 - 2nd October 2015 =
405
+ * New: Choose automatic or manual paragraph / line breaks in the WYSIWYG editor. This fixes an issue where they were inserted automatically when they weren't desired. The checkbox for this is below the WYSIWYG editor.
406
  * New: You can now add images to your notifications using the 'Add Media' button above the WYSIWYG editor.
407
  * New: Portuguese Brazil translation for v1.3.3 (props Glayton Caixeta).
408
  * New: BNFW now has it's own [website](https://betternotificationsforwp.com/)!
431
  * Fixed: Replaced a deprecated function which might cause a warning to show when `WP_DEBUG` was enabled.
432
 
433
  = 1.3.1 - 18th July 2015 =
434
+ * Fixed: The P2 theme wasn't triggering new post or comment notifications.
435
+ * Fixed: Sometimes the shortcode help link at the bottom of the notification editor wouldn't link to the help page properly.
436
 
437
  = 1.3 - 2nd July 2015 =
438
  * New: Option to disable notifications going to the user that triggered them.
439
+ * New: Comment Reply Notification. This is a transactional notification that will only trigger when replying to the original comment (i.e. Up to 2-levels deep).
440
+ * New: New Shortcode: Update Author. Use `[post_update_author]` in any Post or Page notifications to see which user updated the post.
441
  * New: Choose between sending the notification as plain text or HTML.
442
  * New: A basic implementation of shortcode help has been added into the plugin. Click the link below the message body editor to see which shortcodes can be used for the currently selected notification.
443
  * Improved: The 'New User Registration' (For Admin & User) and 'Welcome Email' notifications now allow you to use all of the 'User' shortcodes.
444
  * Fixed: Formatting in emails sent from other plugins were being effected by BNFW.
445
+ * Fixed: Notifications for Categories, Terms and Tags weren't getting triggered.
446
  * Fixed: Notifications weren't getting triggered when using the P2 theme (please see the [FAQ](https://wordpress.org/plugins/bnfw/faq/) for more information about this).
447
  * Fixed: Additional Email fields were being shown for transactional notifications that couldn't use them.
448
 
449
  = 1.2 - 19th May 2015 =
450
  * New: WYSIWYG Editor for notifications!
451
  * New: From Name, From Email, CC and BCC options are now available to use for each notification!
452
+ * New: 'Send Me a Test Email' button. Save your notification first and then send yourself a test email! This will only go to you and not to any of the other users selected in the notification. Shortcodes will not be expanded but will be shown in place.
453
  * Improved: The User Role / Users drop down box has been unified for simplicity.
454
  * Fixed: Lost Password (For User) notifications were being sent in plain text.
455
  * Fixed: Not all custom post types were showing when setting up a new notification.
463
 
464
  = 1.1.5.2 - 15th April 2015 =
465
  * Fixed: Custom Post Type Pending Posts not being sent.
466
+ * Fixed: Post excerpt not outputting anything.
467
+ * Removed: `[closedpostboxes_page], [rich_editing], and [admin_color]` as was a bit defunct and causing issues.
468
+ * Changed: `[post_author]` now outputs the display name instead of the author ID.
469
+ * Improved: Clarity of custom post type and taxonomy labels.
470
 
471
  = 1.1.5.1 - 13th April 2015 =
472
  * Fix for Custom Post Type notifications not populating shortcodes.
533
 
534
  = Migrating from 0.2.1 to 1.0 =
535
 
536
+ Version 1 features an auto-importer which should migrate all of your notifications from any previous versions of the plugin to 1.0.
537
  Please ensure that you check, double check and test your notifications before and after upgrading.
bnfw.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: https://wordpress.org/plugins/bnfw/
5
  * Description: Supercharge your WordPress notifications using a WYSIWYG editor and shortcodes. Default and new notifications available. Add more power with Add-ons.
6
- * Version: 1.6.10
7
  * Author: Made with Fuel
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: hello@betternotificationsforwp.com
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: https://wordpress.org/plugins/bnfw/
5
  * Description: Supercharge your WordPress notifications using a WYSIWYG editor and shortcodes. Default and new notifications available. Add more power with Add-ons.
6
+ * Version: 1.6.11
7
  * Author: Made with Fuel
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: hello@betternotificationsforwp.com
includes/admin/class-bnfw-notification.php CHANGED
@@ -263,7 +263,7 @@ class BNFW_Notification {
263
  value="comment-<?php echo esc_attr( $type ); ?>" <?php selected( 'comment-' . $type, $setting['notification'] ); ?>><?php echo "'$label' ", esc_html__( 'New Comment', 'bnfw' ); ?></option>
264
  <option
265
  value="commentreply-<?php echo esc_attr( $type ); ?>" <?php selected( 'commentreply-' . $type, $setting['notification'] ); ?>><?php echo "'$label' ", esc_html__( 'Comment Reply', 'bnfw' ); ?></option>
266
- <?php do_action( 'bnfw_after_notification_options_option', $type, $label, $setting ); ?>
267
  </optgroup>
268
  <?php do_action( 'bnfw_after_notification_options_optgroup', $type, $label, $setting ); ?>
269
 
263
  value="comment-<?php echo esc_attr( $type ); ?>" <?php selected( 'comment-' . $type, $setting['notification'] ); ?>><?php echo "'$label' ", esc_html__( 'New Comment', 'bnfw' ); ?></option>
264
  <option
265
  value="commentreply-<?php echo esc_attr( $type ); ?>" <?php selected( 'commentreply-' . $type, $setting['notification'] ); ?>><?php echo "'$label' ", esc_html__( 'Comment Reply', 'bnfw' ); ?></option>
266
+ <?php do_action( 'bnfw_after_notification_options', $type, $label, $setting ); ?>
267
  </optgroup>
268
  <?php do_action( 'bnfw_after_notification_options_optgroup', $type, $label, $setting ); ?>
269