Subscribe2 HTML v10.12

Version 10.12 of the Subscribe2 HTML was released about two weeks ago and is available now. This version has been tested on WordPress 4.5 and 4.5.1. It requires at least WordPress 3.3.

Current users of Subscribe2 HTML with an active support and upgrade subscription and upgrade using the WordPress plugin admin page.

Version 10.12 contains the enhancements and bug fixes listed below.

  • Fixed error message that displays when free version is installed and active alongside Subscribe2 HTML
  • Fixed a bug affecting display of registered subscribed when filtered by category
  • Fixed a ‘Mixed content’ error on Settings page if using SSL / HTTPS connection
  • Updated to latest CSS version of jQueryUI on Settings page
  • Fixed a ‘Mixed content’ error on ajax form if using SSL / HTTPS connection
  • Remove use of get_currentuserinfo() function deprecated in WordPress 4.5  – thanks to Luke Cavanagh
  • Avoid loading jQuery UI libraries and CSS on Settings page for date picker unless it is needed
  • Updated JavaScript files and images to WordPress naming convention
  • Context specific delete warnings for Public and Registered Subscribers
  • Fixed an issue that stopped digest previews sending if the last post used was excluded somehow – thanks to Lori
  • Improve display of upgrade messages for WordPress 4.6


Subscribe2 HTML v10.11

Version 10.11 of the Subscribe2 HTML in now available. This version has been tested on WordPress 4.4.2 and 4.5. It requires at least WordPress 3.3.

Current users of Subscribe2 HTML with an active support and upgrade subscription and upgrade using the WordPress plugin admin page.

Version 10.11 contains the enhancements and bug fixes listed below.

  • Apply the ‘s2_form’ filter to all aspects of the form including those after erroneous input
  • Ensure license key contains no white space when stored in the database
  • Fix an issue where ‘=’ symbols are inserted into HTML email content for some subscribers – thanks to Jennifer Erdman and Scott Vosburgh
  • Remove use of wp_staticize_emoji() function to stop double encoding emojis
  • Further improvements to code layout using WordPress Code Sniffer Coding Standards
  • Improved {UNSUBLINK} to provide a single click unsubscription function for Registered Subscribers rather than a link to the Your Subscriptions page – links are still available through use of the ‘s2_registered_unsublink_type’ filter
  • Updated Links section in Settings page to point to paid plugin site and support forum
  • Fixed pagination to ensure appropriate next and previous buttons are disabled in WordPress 4.3 and above
  • Updated Widgets to enable Selective Refresh Support in WordPress 4.5 and above
  • Make post ID globally available so it can be accessed by developers via filters such as the ‘s2_custom_keywords’ filter for scheduled posts
  • Removed unnecessary code from update checker class
  • Removed unused parameter from headers() function

Subscribe2 HTML v10.10

Version 10.10 of the Subscribe2 HTML in now available. This version has been tested on WordPress 4.4 and 4.4.1. It requires at least WordPress 3.3.

Current users of Subscribe2 HTML with an active support and upgrade subscription and upgrade using the WordPress plugin admin page.

Version 10.10 contains the enhancements and bug fixes listed below.

  • Added automated reminder emails sent 2 days after initial sign up request, interval can be changed via filter, or disabled
  • Code layout enhancements and inline documentation improvements
  • Improvements to comment form subscription checkbox / user messages
  • Enhanced ‘Cleaner’ task to ensure address toggles by admin are not immediately deleted by the task
  • Enhance ‘toggle’ and ‘delete’ functions to limit action to a single database entry
  • Improved wildcard implementation for barred domains to block internationally similar domains e.g. and with yahoo.*

Free version of Subscribe2 is back

It seems that the free version of Subscribe2 has been restored to the WordPress plugin repository and it is great to see it back! 🙂

Looking at the code differences it seems that, for the time being at least, the ReadyGraph code has been removed.

I thought readers of this blog may like to know about this, but as previously stated, I am no longer involved in the development or support of free version of Subscribe2.

Subscribe2 HTML still available

Over the last 10 days or so the free version of Subscribe2 has been offline while a security issue is being patched and user experience is improved. A patch has been submitted and is under review by the WordPress plugins team. In the meantime, I wanted to advise that Subscribe2 HTML is not affected by this issue and is still available for purchase.

Unsubscribe links in notification emails

UPDATE: Unsubscribe links have been implemented as a feature and are available now in version 10.7 of Subscribe2 HTML.

TL;DR – I’m thinking of adding a feature allowing unsubscription links in the notification email in the next version. I hope I’ve found a good implementation for this feature as it isn’t straightforward. What do you think? Comments please… 😉

For a long time the Roadmap for Subscribe2 has stated that unsubscribe links in the notification emails has been considered and dismissed as a development route.

Why? Well, for a few reasons:

  • Subscribe2 is designed to be able to send individual emails but it can also be configured to send a single email to multiple recipients via the email BCC header – so the unsubscribe link would not be individual to each recipient
  • Subscribe2 can send up to 4 email types and in 2 formats, HTML and plain text – formatting can get messy when trying to implement a solution for all email types
  • Subscribe2 supports two user type, Registered and Public – the latter can click on a link to delete their email address but Registered Subscribers need to log in to their profile and change their setting – so a single link isn’t enough

So, where are we at right now?

Well, I think I have a satisfactory and workable solution now that I can spend more time developing Subscribe2 HTML while Subscribe2 is looked after by the folks at ReadyGraph. (See here for more about that split).

Basically, I have implemented a new {KEYWORD} called {UNSUBLINK}. This keyword is replaced by an unsubscribe link for Public Subscribers and a link to the ‘Your Subscriptions’ admin page for Registered Subscribers. These links are very basic in their implementation to allow for the plain text emails.

So, to allow greater control over the final output in the email there are also API filters for both links that passes both the generated link and the email type. This allows individual sites to use a little code to add some text and formatting to the link depending on the link and the email type. So for example (see below) you can return a nice sentence to Registered Subscribers with a word linked to the ‘Your Subscriptions’ page.

function custom_public_unsublink( $link, $email_type ) {
	if ( 'text' === $email_type ) {
		return "To unsubscribe click here:\r\n" . $link;
	} else {
		return 'To unsubscribe click here:
<a href="' . $link . '">' . $link . '</a>';
add_filter( 's2_unsublink_public', 'custom_public_unsublink', 10, 2 );

function custom_registered_unsublink( $link, $email_type ) {
	if ( 'text' === $email_type ) {
		return "You may manage your subscription options from your profile\r\n" . $link;
	} else {
		return sprintf( 'You may manage your subscription options from your <a href="%s">profile</a>', $link );
add_filter( 's2_unsublink_registered', 'custom_registered_unsublink', 10, 2 );

Finally then, this is the best solution I can currently think of, but I’m happy to hear some feedback on this before I push this feature out. Comments are open so let’s have some constructive feedback please. [Off topic comments will be deleted!]

Subscribe2 and Subscribe2 HTML

This post is all about some recent changes to Subscribe2 and Subscribe2 HTML and also clarifies the future of these two plugins a little.

As many of you may well have already noticed, Subscribe2 is now under new management. About 6 months ago I was the sole developer and supporter of Subscribe2 and Subscribe2 HTML and it was getting to be too much of a chore. I was approached and asked if I’d be willing to hand over control of Subscribe2 in return for a payment. I accepted. As part of that agreement this site was handed over too, but since it hasn’t been used I hope no one minds if I resurrect it for Subscribe2 HTML!

Subscribe2 has gone through some intensive development in this period and is now at version 10.17.2. It has added a new feature that can rapidly grow your subscriber base, the trade off being you agree (and your subscribers agree) to share their details with a third party, namely ReadyGraph.

Subscribe2 HTML has also gone through some changes and is currently at version 10.6. Features such as draft email in the Send Email page and the ability to send images and CSS as attachments to the notification email have been added.

So, essentially Subscribe2 and Subscribe2 HTML have now gone in different directions.

I still look after the code base for Subscribe2 HTML and will continue to do so. I also still hang around in the forum for the free version of Subscribe2 but I plan to start scaling this back and maybe lurking a little more.

The reason for me scaling back? Well, I cannot commit changes to the code anymore so cannot implement fixes for a start. Secondly, the majority of questions that are posed on the forums have usually been asked before, often this is many times before. So, the answers are usually available already. Finally, well as I said above the development and support was becoming a bit of a chore and I’m quite enjoying not feeling like I have to answer support questions!

So, good luck to the new developers in your venture and stewardship of Subscribe2. Best wishes and good luck to all of my users, code contributors, donators and supports over the years while I looked after Subscribe2. If you need me, you’ll find me looking after Subscribe2 HTML! 🙂