This morning I posted beta-2 of Email Users 4.6.11. This build addresses a bug with the Post Excerpt recently reported in the WordPress Support Forum. I suspect this bug has been around for a long time. Email Users was making a call to get_the_excerpt() which it turns out, should only be called within The Loop. I have fixed this bug and and the plugin is now looking for the excerpt properly and more importantly, my test posts are behaving properly.
Please report any other issues and I will do my best to address this ASAP. Since this is a pretty serious bug, I will likely release an update within a day or two if I don’t have any further bug reports.
I’ve had a number of reports recently regarding loss of line breaks when sending out Post or Page notifications. Nothing has changed in Email Users with respect to formatting the post prior to sending it via email. However, the fact that several people has run into this problem concerns me.
The only thing I can think of which would result in loss of line breaks is if the the_content() or the_excerpt() functions are not calling the wpauto filter (which both do by default unless turned off). As noted in the Codex page, some plugins and themes remove the action.
I’ve added a check within the Email Users Dashboard widget to report the state of the hooks which could reformat the text. The the_content hook is the most likely to change the formatting of the post content but the other two listed could also affect it in some cases.
Yesterday I finally released Swim Team v1.42. With almost 50 downloads of the beta and no problems reported, I figured it was as tested as it was going to get! Some of the fixes and enhancements include:
Added checking and error messages for creation of temporary files used during export (CSV, HY3, SD3, RE1).
Added support for Event Number suffixes.
Added support for Transients as temporary storage when exporting data or generating reports.
Major change to how files are included to better support newer versions of PHP. The PHP include_path is no longer modified nor assumed.
Fixed bug in MyJobs which appears when no active season is designated.
Functionally this release is identical to v1.42-beta-8. You can find the update in the WordPress plugin repository or as an update on your Dashboard.
This morning I posted beta-8 of Swim Team v1.42. I hope to formally release it in the next day or two barring no reported issues. This update addresses a few more areas where I missed the changes to how files are included. This manifested itself mostly through usage of shortcodes but there were a few other spots too (e.g. event management).
This evening I posted beta-7 of Swim Team v1.42. This build addresses a problem reported earlier today. This bug manifested itself when there isn’t an active season which would be the case when the plugin is first installed. It is also possible to set all seasons inactive in which case, the same problem was present.
This morning I have posted a new build, v1.42 beta-6 of the Swim Team plugin. This beta release makes a major change to how the plugin includes the various files the plugin uses. Historically, Swim Team modified the PHP include_path as part of the initialization to include the paths where included files are expected. In newer versions of PHP this seems to cause some problems for some users.
I have changed the plugin to eliminate the need to modify the PHP include_path however the process of doing so required touching almost 100 files within the plugin. I have been through all of the menus and tabs and believe I found accounted for every file which included but there is always a chance I have missed something.
Please report any problems and I will do my best to fix it quickly.
This morning I released beta-2 and very quickly afterward, because I found a bugs, beta-3, then beta-4 of Email Users v4.6.10. This beta-4 build addresses a couple enhancements that were recently raised in the Support Forum.
Templates – while not exactly templates per se, the Post/Page notification email will now allow the user to change the email subject and body content. It will still be initially populated based on the default template.
Hooks – there are now two hooks which other plugins and themes can use to modify the behavior of wp_mail(). The two hooks are mailusers_before_wp_mail and mailusers_after_wp_mail. The primary use for this is to account for other plugins which modify the sender address.
Additionally, the Notification email process now has a preview of what the email will look like based on the current settings. The preview will not reflect any changes made to the subject or email content until it is submitted.
This afternoon I released beta-1 of Email Users v4.6.10. This build fixes a problem reported in the Support Forum today. I will likely try and address some of the recent enhancement requests before making a formal release. It is likely that most users would not have seen this problem unless their PHP error reporting level was more strict than typical settings.